Class
OfficeDocumentSearchHit
OfficeIMO.Reader
One query occurrence and its source/page locations.
Inheritance
- object
- OfficeDocumentSearchHit
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeDocumentSearchResult.Hits
Inherited Methods
Properties
public OfficeDocumentBlock Block { get; } #Normalized source block containing the occurrence.
public int StartIndex { get; } #Zero-based occurrence offset in OfficeDocumentBlock.Text.
public IReadOnlyList<OfficeDocumentPageLocation> Pages { get; } #Page-like locations that contain the matching source block fragment.
public double? Score { get; } #BM25 relevance score for ranked hits; null for literal and regular-expression hits.
public IReadOnlyList<OfficeDocumentSearchHighlight> Highlights { get; } #Matched ranges in OfficeDocumentBlock.Text. A literal hit has its one occurrence; a ranked hit has every matched word and phrase, and may have none when only the block's heading path matched.