VectorIndexDefinition<T>.WithVectorIndexShardKey(String[]) 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.
Configures the vector index shard key for the current VectorIndexPath definition.
public Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<T> WithVectorIndexShardKey(string[] vectorIndexShardKey);
member this.WithVectorIndexShardKey : string[] -> Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<'T>
Public Function WithVectorIndexShardKey (vectorIndexShardKey As String()) As VectorIndexDefinition(Of T)
Parameters
- vectorIndexShardKey
- String[]
A string array containing the shard keys used for partitioning the vector indexes. This is an optional parameter and applies to index types DiskANN and quantizedFlat.
Returns
An instance of the current VectorIndexDefinition<T>.