Package | Description |
---|---|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Field and Description |
---|---|
static PhraseHelper |
PhraseHelper.NONE |
private PhraseHelper |
UHComponents.phraseHelper |
Modifier and Type | Method and Description |
---|---|
PhraseHelper |
UHComponents.getPhraseHelper() |
protected PhraseHelper |
UnifiedHighlighter.getPhraseHelper(java.lang.String field,
Query query,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Modifier and Type | Method and Description |
---|---|
protected UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.getOptimizedOffsetSource(java.lang.String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata) |
Constructor and Description |
---|
UHComponents(java.lang.String field,
java.util.function.Predicate<java.lang.String> fieldMatcher,
Query query,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |