Table of Contents

Class SearchOptions<TDocument>

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

Options for search.

public sealed class SearchOptions<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SearchOptions<TDocument>
Inherited Members

Properties

CountOptions

Gets or sets the options for counting the search results.

Highlight

Gets or sets the options for highlighting.

IndexName

Gets or sets the index name.

ReturnStoredSource

Gets or sets a flag that specifies whether to perform a full document lookup on the backend database or return only stored source fields directly from Atlas Search.

ScoreDetails

Gets or sets a flag that specifies whether to return a detailed breakdown of the score for each document in the result.

Sort

Gets or sets the sort specification.

Tracking

Gets or sets the options for tracking search terms.