Class SearchOptions<TDocument>
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.
- SearchAfter
Gets or sets the "after" reference point for pagination. When set, the search retrieves documents starting immediately after the specified reference point.
- SearchBefore
Gets or sets the "before" reference point for pagination. When set, the search retrieves documents starting immediately before the specified reference point.
- Sort
Gets or sets the sort specification.
- Tracking
Gets or sets the options for tracking search terms.