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 |
---|---|
protected static CharacterRunAutomaton[] |
UnifiedHighlighter.ZERO_LEN_AUTOMATA_ARRAY |
Modifier and Type | Method and Description |
---|---|
CharacterRunAutomaton[] |
UHComponents.getAutomata() |
protected CharacterRunAutomaton[] |
UnifiedHighlighter.getAutomata(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) |
Copyright © 2000–2022 The Apache Software Foundation. All rights reserved.