CosmosIndexExtensions.GetVectorIndexType(IReadOnlyIndex) Method
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.
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.
public static Microsoft.Azure.Cosmos.VectorIndexType? GetVectorIndexType(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
static member GetVectorIndexType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> Nullable<Microsoft.Azure.Cosmos.VectorIndexType>
<Extension()>
Public Function GetVectorIndexType (index As IReadOnlyIndex) As Nullable(Of VectorIndexType)
Parameters
- index
- IReadOnlyIndex
The index.
Returns
The index type to use, or null
if none is set.