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 |
Modifier and Type | Method and Description |
---|---|
PhraseHelper |
UHComponents.getPhraseHelper() |
protected PhraseHelper |
UnifiedHighlighter.getPhraseHelper(String field,
Query query,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Modifier and Type | Method and Description |
---|---|
protected UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.getOptimizedOffsetSource(String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata) |
Constructor and Description |
---|
UHComponents(String field,
Predicate<String> fieldMatcher,
Query query,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.