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 LabelledCharArrayMatcher[] |
UnifiedHighlighter.ZERO_LEN_AUTOMATA_ARRAY |
Modifier and Type | Method and Description |
---|---|
LabelledCharArrayMatcher[] |
UHComponents.getAutomata() |
protected LabelledCharArrayMatcher[] |
UnifiedHighlighter.getAutomata(String field,
Query query,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
static LabelledCharArrayMatcher |
LabelledCharArrayMatcher.wrap(String label,
ByteRunAutomaton runAutomaton)
Returns a representation of the automaton that matches char[] instead of byte[]
|
static LabelledCharArrayMatcher |
LabelledCharArrayMatcher.wrap(String label,
CharArrayMatcher in)
Associates a label with a CharArrayMatcher
|
Constructor and Description |
---|
UHComponents(String field,
Predicate<String> fieldMatcher,
Query query,
BytesRef[] terms,
PhraseHelper phraseHelper,
LabelledCharArrayMatcher[] automata,
boolean hasUnrecognizedQueryPart,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.