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 | Class and Description |
---|---|
static class |
OffsetsEnum.MultiOffsetsEnum
A view over several OffsetsEnum instances, merging them in-place
|
static class |
OffsetsEnum.OfMatchesIterator
Based on a
MatchesIterator ; does not look at submatches. |
static class |
OffsetsEnum.OfMatchesIteratorWithSubs
Based on a
MatchesIterator with submatches. |
static class |
OffsetsEnum.OfPostings
Based on a
PostingsEnum -- the typical/standard OE impl. |
Modifier and Type | Field and Description |
---|---|
static OffsetsEnum |
OffsetsEnum.EMPTY
Empty enumeration
|
Modifier and Type | Method and Description |
---|---|
protected OffsetsEnum |
FieldOffsetStrategy.createOffsetsEnumFromReader(LeafReader leafReader,
int doc) |
OffsetsEnum |
TokenStreamOffsetStrategy.getOffsetsEnum(LeafReader reader,
int docId,
String content) |
OffsetsEnum |
MemoryIndexOffsetStrategy.getOffsetsEnum(LeafReader reader,
int docId,
String content) |
abstract OffsetsEnum |
FieldOffsetStrategy.getOffsetsEnum(LeafReader reader,
int docId,
String content)
The primary method -- return offsets for highlightable words in the specified document.
|
OffsetsEnum |
NoOpOffsetStrategy.getOffsetsEnum(LeafReader reader,
int docId,
String content) |
OffsetsEnum |
PostingsWithTermVectorsOffsetStrategy.getOffsetsEnum(LeafReader leafReader,
int docId,
String content) |
OffsetsEnum |
PostingsOffsetStrategy.getOffsetsEnum(LeafReader reader,
int docId,
String content) |
OffsetsEnum |
TermVectorOffsetStrategy.getOffsetsEnum(LeafReader reader,
int docId,
String content) |
Modifier and Type | Method and Description |
---|---|
int |
OffsetsEnum.compareTo(OffsetsEnum other) |
protected Passage[] |
FieldHighlighter.highlightOffsetsEnums(OffsetsEnum off) |
Modifier and Type | Method and Description |
---|---|
protected void |
FieldOffsetStrategy.createOffsetsEnumsForAutomata(Terms termsIndex,
int doc,
List<OffsetsEnum> results) |
void |
PhraseHelper.createOffsetsEnumsForSpans(LeafReader leafReader,
int docId,
List<OffsetsEnum> results)
Given the internal SpanQueries, produce a number of OffsetsEnum into the
results param. |
protected void |
FieldOffsetStrategy.createOffsetsEnumsForTerms(BytesRef[] sourceTerms,
Terms termsIndex,
int doc,
List<OffsetsEnum> results) |
protected void |
FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(LeafReader _leafReader,
int docId,
List<OffsetsEnum> results) |
Constructor and Description |
---|
MultiOffsetsEnum(List<OffsetsEnum> inner) |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.