Table of Contents

Class VectorSearchOperatorOptions<TDocument>

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

Vector search options to use when the vector search is used as an operator instead of as a top-level query.

public sealed class VectorSearchOperatorOptions<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
VectorSearchOperatorOptions<TDocument>
Inherited Members

Properties

Exact

Gets 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 pre-search filter.

NumberOfCandidates

Gets or sets the number of candidates.