IndexKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
These are the indexing types available for indexing a path in the Azure Cosmos DB service.
public enum IndexKind
type IndexKind =
Public Enum IndexKind
- Inheritance
-
IndexKind
Fields
Name | Value | Description |
---|---|---|
Hash | 0 | The index entries are hashed to serve point look up queries. |
Range | 1 | The index entries are ordered. Range indexes are optimized for inequality predicate queries with efficient range scans. |
Spatial | 2 | The index entries are indexed to serve spatial queries. |
Remarks
For additional details, refer to http://azure.microsoft.com/documentation/articles/documentdb-indexing-policies/#ConfigPolicy.
Applies to
Azure SDK for .NET