| 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 | Interface and Description |
|---|---|
interface |
LabelledCharArrayMatcher
Associates a label with a CharArrayMatcher to distinguish different sources for terms in highlighting
|
| Modifier and Type | Field and Description |
|---|---|
private CharArrayMatcher[] |
TokenStreamOffsetStrategy.combinedAutomata |
(package private) CharArrayMatcher[] |
TokenStreamOffsetStrategy.TokenStreamOffsetsEnum.matchers |
private CharArrayMatcher |
MemoryIndexOffsetStrategy.preMemIndexFilterAutomaton |
| Modifier and Type | Method and Description |
|---|---|
private static CharArrayMatcher |
MemoryIndexOffsetStrategy.buildCombinedAutomaton(UHComponents components)
Build one
CharArrayMatcher matching any term the query might match. |
private static CharArrayMatcher[] |
TokenStreamOffsetStrategy.convertTermsToMatchers(BytesRef[] terms,
CharArrayMatcher[] matchers) |
static CharArrayMatcher |
CharArrayMatcher.fromTerms(java.util.List<BytesRef> terms) |
| Modifier and Type | Method and Description |
|---|---|
private static CharArrayMatcher[] |
TokenStreamOffsetStrategy.convertTermsToMatchers(BytesRef[] terms,
CharArrayMatcher[] matchers) |
private static FilteringTokenFilter |
MemoryIndexOffsetStrategy.newKeepWordFilter(TokenStream tokenStream,
CharArrayMatcher matcher) |
static LabelledCharArrayMatcher |
LabelledCharArrayMatcher.wrap(java.lang.String label,
CharArrayMatcher in)
Associates a label with a CharArrayMatcher
|
| Constructor and Description |
|---|
TokenStreamOffsetsEnum(TokenStream ts,
CharArrayMatcher[] matchers) |