Support TTL indexes on any field
Please add support for TTL indexes on any field, not just the internal and inaccessible
_ts field. We need document specific TTLs.
Per document TTL is now available in Preview for customers to try.
To enable and test this feature access your MongoDB API account for Cosmos DB in the Azure Portal, click Preview tab on left hand side, then click Enable to test Per-document TTL.
You will can also enable and try Aggregation Pipeline and MongoDB 3.4 support from here as well.
Please try TTL and all these features and please feel free to give us feedback.
Thank you for your suggestion and your votes.
Chris Cheshire commented
Change cosmos ttl to adhere to mongodb's api so it can be used with mongodb caching libraries.
If it doesn't match the mongodb api, then how can it be called mongodb?