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 | Method and Description |
---|---|
static UnifiedHighlighter.HighlightFlag |
UnifiedHighlighter.HighlightFlag.valueOf(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 Set<UnifiedHighlighter.HighlightFlag> |
UnifiedHighlighter.getFlags(String field) |
Modifier and Type | Method and Description |
---|---|
protected CharacterRunAutomaton[] |
UnifiedHighlighter.getAutomata(String field,
Query query,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
protected FieldOffsetStrategy |
UnifiedHighlighter.getOffsetStrategy(UnifiedHighlighter.OffsetSource offsetSource,
String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
protected PhraseHelper |
UnifiedHighlighter.getPhraseHelper(String field,
Query query,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.