Click or drag to resize

SearchHighlightOptionsTDocument Constructor (SearchPathDefinitionTDocument, NullableInt32, NullableInt32)

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public SearchHighlightOptions(
	SearchPathDefinition<TDocument> path,
	int? maxCharsToExamine = null,
	int? maxNumPassages = null
)

Parameters

path
Type: MongoDB.Driver.SearchSearchPathDefinitionTDocument
The document field to search.
maxCharsToExamine (Optional)
Type: SystemNullableInt32
maximum number of characters to examine.
maxNumPassages (Optional)
Type: SystemNullableInt32
The number of high-scoring passages.
See Also