- Default: Best for equality queries against strings, and ORDER BY, range and equality queries for numbers.
- Hash: Best for equality queries for both numbers and strings.
- Range: Best for ORDER BY, range and equality queries for both numbers and strings.
New DocumentDB ORDER BY Features in the Azure Preview Portal
It's always been easy to create DocumentDB collections in the Azure preview portal. With the release of ORDER BY support for Azure DocumentDB, we’ve updated our portal experience to make it just as easy to specify the indexing policy for your collections. When creating a collection, you can now choose to apply one of three indexing policies: