VectorIndexDefinition<T>.Path(String, VectorIndexType) Method

Definition

Add a path to the current VectorIndexPath definition with a particular set of VectorIndexTypes.

public Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<T> Path (string path, Microsoft.Azure.Cosmos.VectorIndexType indexType);
member this.Path : string * Microsoft.Azure.Cosmos.VectorIndexType -> Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<'T>
Public Function Path (path As String, indexType As VectorIndexType) As VectorIndexDefinition(Of T)

Parameters

path
String

Property path for the current definition. Example: /property

indexType
VectorIndexType

Set of VectorIndexType to apply to the path.

Returns

An instance of the current VectorIndexDefinition<T>.

Applies to