Namespace Lucene.Net.Search.PostingsHighlight
Classes
DefaultPassageFormatter
Creates a formatted snippet from the top passages.
The default implementation marks the query terms as bold, and places ellipses between unconnected passages.
ICUPostingsHighlighter
Simple highlighter that does not analyze fields nor use term vectors. Instead it requires DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS.
Passage
Represents a passage (typically a sentence of the document).
A passage contains NumMatches highlights from the query, and the offsets and query terms that correspond with each match.
PassageFormatter
Creates a formatted snippet from the top passages.
PassageScorer
Ranks passages found by ICUPostingsHighlighter.
Each passage is scored as a miniature document within the document.
The final score is computed as norm
* ∑ (weight
* tf
).
The default implementation is norm
* BM25.
WholeBreakIterator
Just produces one single fragment for the entire text