| 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(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–2025 The Apache Software Foundation. All rights reserved.