See: Description
| Class | Description |
|---|---|
| AnalysisOffsetStrategy |
Uses an
Analyzer on content to get offsets. |
| DefaultPassageFormatter |
Creates a formatted snippet from the top passages.
|
| FieldHighlighter |
Internal highlighter abstraction that operates on a per field basis.
|
| FieldOffsetStrategy |
Ultimately returns a list of
OffsetsEnum yielding potentially highlightable words in the text. |
| NoOpOffsetStrategy |
Never returns offsets.
|
| OffsetsEnum |
Holds the term & PostingsEnum, and info for tracking the occurrences of a term within the text.
|
| Passage |
Represents a passage (typically a sentence of the document).
|
| PassageFormatter |
Creates a formatted snippet from the top passages.
|
| PassageScorer |
Ranks passages found by
UnifiedHighlighter. |
| PhraseHelper |
Helps the
FieldOffsetStrategy with strict position highlighting (e.g. |
| PostingsOffsetStrategy |
Uses offsets in postings --
IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS. |
| PostingsWithTermVectorsOffsetStrategy |
Like
PostingsOffsetStrategy but also uses term vectors (only terms needed) for multi-term queries. |
| SplittingBreakIterator |
Virtually slices the text on both sides of every occurrence of the specified character.
|
| TermVectorOffsetStrategy |
Uses term vectors that contain offsets.
|
| UnifiedHighlighter |
A Highlighter that can get offsets from either
postings (
IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS),
term vectors (FieldType.setStoreTermVectorOffsets(boolean)),
or via re-analyzing text. |
| UnifiedHighlighter.LimitedStoredFieldVisitor |
Fetches stored fields for highlighting.
|
| Enum | Description |
|---|---|
| UnifiedHighlighter.HighlightFlag |
Flags for controlling highlighting behavior.
|
| UnifiedHighlighter.OffsetSource |
Source of term offsets; essential for highlighting.
|
UnifiedHighlighterCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.