CosmosIndexBuilderExtensions 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.
Azure Cosmos DB-specific extension methods for IndexBuilder.
[System.Diagnostics.CodeAnalysis.Experimental("EF9103")]
public static class CosmosIndexBuilderExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("EF9103")>]
type CosmosIndexBuilderExtensions = class
Public Module CosmosIndexBuilderExtensions
- Inheritance
-
CosmosIndexBuilderExtensions
- Attributes
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Methods
CanSetVectorIndexType(IConventionIndexBuilder, Nullable<VectorIndexType>, Boolean) |
Returns a value indicating whether the vector index can be configured for vectors. |
ForVectors(IConventionIndexBuilder, Nullable<VectorIndexType>, Boolean) |
Configures whether the index as a vector index with the given vector index type, such as "flat", "diskANN", or "quantizedFlat". See Vector Search in Azure Cosmos DB for NoSQL for more information. |
ForVectors(IndexBuilder, Nullable<VectorIndexType>) |
Configures the index as a vector index with the given vector index type, such as "flat", "diskANN", or "quantizedFlat". See Vector Search in Azure Cosmos DB for NoSQL for more information. |
ForVectors<TEntity>(IndexBuilder<TEntity>, Nullable<VectorIndexType>) |
Configures whether the index as a vector index with the given vector index type, such as "flat", "diskANN", or "quantizedFlat". See Vector Search in Azure Cosmos DB for NoSQL for more information. |