VectorIndexDefinition<T>.WithIndexingSearchListSize(Int32) Method

Definition

Configures the indexing search list size for the current VectorIndexPath definition.

public Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<T> WithIndexingSearchListSize(int indexingSearchListSize);
member this.WithIndexingSearchListSize : int -> Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<'T>
Public Function WithIndexingSearchListSize (indexingSearchListSize As Integer) As VectorIndexDefinition(Of T)

Parameters

indexingSearchListSize
Int32

This represents the size of the candidate list of approximate neighbors stored while building the DiskANN index as part of the optimization processes. This is an optional parameter and applies to index type DiskANN only. The allowed range for this parameter is between 25 and 500.

Returns

An instance of the current VectorIndexDefinition<T>.

Applies to