Class SearchOptions
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Options for search.
public sealed class SearchOptions<TDocument>
Type Parameters
TDocument
The type of the document.
Inheritance
SearchOptions
Inherited Members
Properties
Gets or sets the options for counting the search results.
Gets or sets the options for highlighting.
Gets or sets the index name.
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.
Gets or sets a flag that specifies whether to return a detailed breakdown of the score for each document in the result.
Gets or sets the "after" reference point for pagination. When set, the search retrieves documents starting immediately after the specified reference point.
Gets or sets the "before" reference point for pagination. When set, the search retrieves documents starting immediately before the specified reference point.
Gets or sets the sort specification.
Gets or sets the options for tracking search terms.