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 LabelledCharArrayMatcher[] |
UHComponents.automata |
protected static LabelledCharArrayMatcher[] |
UnifiedHighlighter.ZERO_LEN_AUTOMATA_ARRAY |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<LabelledCharArrayMatcher> |
MultiTermHighlighting.AutomataCollector.runAutomata |
Modifier and Type | Method and Description |
---|---|
(package private) static LabelledCharArrayMatcher[] |
MultiTermHighlighting.extractAutomata(Query query,
java.util.function.Predicate<java.lang.String> fieldMatcher,
boolean lookInSpan)
Extracts MultiTermQueries that match the provided field predicate.
|
LabelledCharArrayMatcher[] |
UHComponents.getAutomata() |
protected LabelledCharArrayMatcher[] |
UnifiedHighlighter.getAutomata(java.lang.String field,
Query query,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
static LabelledCharArrayMatcher |
LabelledCharArrayMatcher.wrap(java.lang.String label,
ByteRunAutomaton runAutomaton)
Returns a representation of the automaton that matches char[] instead of byte[]
|
static LabelledCharArrayMatcher |
LabelledCharArrayMatcher.wrap(java.lang.String label,
CharArrayMatcher in)
Associates a label with a CharArrayMatcher
|
Constructor and Description |
---|
UHComponents(java.lang.String field,
java.util.function.Predicate<java.lang.String> fieldMatcher,
Query query,
BytesRef[] terms,
PhraseHelper phraseHelper,
LabelledCharArrayMatcher[] automata,
boolean hasUnrecognizedQueryPart,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |