CosmosIndexExtensions Class
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.
Index extension methods for Azure Cosmos DB-specific metadata.
[System.Diagnostics.CodeAnalysis.Experimental("EF9103")]
public static class CosmosIndexExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("EF9103")>]
type CosmosIndexExtensions = class
Public Module CosmosIndexExtensions
- Inheritance
-
CosmosIndexExtensions
- Attributes
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Methods
GetVectorIndexType(IReadOnlyIndex) |
Returns the vector index type to use, such as "flat", "diskANN", or "quantizedFlat". See Vector Search in Azure Cosmos DB for NoSQL for more information. |
GetVectorIndexTypeConfigurationSource(IConventionIndex) |
Returns the ConfigurationSource for whether the GetVectorIndexType(IReadOnlyIndex). |
SetVectorIndexType(IConventionIndex, Nullable<VectorIndexType>, Boolean) |
Sets the vector index type to use, such as "flat", "diskANN", or "quantizedFlat". See Vector Search in Azure Cosmos DB for NoSQL for more information. |
SetVectorIndexType(IMutableIndex, Nullable<VectorIndexType>) |
Sets the vector index type to use, such as "flat", "diskANN", or "quantizedFlat". See Vector Search in Azure Cosmos DB for NoSQL for more information. |