Table of Contents

Class SearchHighlight

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

Represents a result of highlighting.

public sealed class SearchHighlight
Inheritance
SearchHighlight
Inherited Members

Constructors

SearchHighlight(string, double, SearchHighlightText[])

Initializes a new instance of the SearchHighlight class.

Properties

Path

Gets the document field which returned a match.

Score

Gets the score assigned to this result.

Texts

Gets one or more objects containing the matching text and the surrounding text (if any).