Table of Contents

Class VectorSearchOptions<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Vector search options.

public sealed class VectorSearchOptions<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
VectorSearchOptions<TDocument>
Inherited Members

Properties

Exact

Get or sets a value indicating if exact nearest neighbor (ENN) is to be used, false by default. If false, approximate nearest neighbor (ANN) is used.

Filter

Gets or sets the filter.

IndexName

Gets or sets the name of the index.

NumberOfCandidates

Gets or sets the number of candidates.