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 |
---|---|
private java.util.Set<UnifiedHighlighter.HighlightFlag> |
UHComponents.highlightFlags |
Modifier and Type | Method and Description |
---|---|
static UnifiedHighlighter.HighlightFlag |
UnifiedHighlighter.HighlightFlag.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnifiedHighlighter.HighlightFlag[] |
UnifiedHighlighter.HighlightFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<UnifiedHighlighter.HighlightFlag> |
UnifiedHighlighter.getFlags(java.lang.String field) |
java.util.Set<UnifiedHighlighter.HighlightFlag> |
UHComponents.getHighlightFlags() |
Modifier and Type | Method and Description |
---|---|
protected CharacterRunAutomaton[] |
UnifiedHighlighter.getAutomata(java.lang.String field,
Query query,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
protected PhraseHelper |
UnifiedHighlighter.getPhraseHelper(java.lang.String field,
Query query,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
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) |