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.
public SearchCountOptions CountOptions { get; set; }
Property Value
Highlight
Gets or sets the options for highlighting.
public SearchHighlightOptions<TDocument> Highlight { get; set; }
Property Value
- SearchHighlightOptions<TDocument>
IndexName
Gets or sets the index name.
public string IndexName { get; set; }
Property Value
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.
public bool ReturnStoredSource { get; set; }
Property Value
ScoreDetails
Gets or sets a flag that specifies whether to return a detailed breakdown of the score for each document in the result.
public bool ScoreDetails { get; set; }
Property Value
Sort
Gets or sets the sort specification.
public SortDefinition<TDocument> Sort { get; set; }
Property Value
- SortDefinition<TDocument>
Tracking
Gets or sets the options for tracking search terms.
public SearchTrackingOptions Tracking { get; set; }