Uses of Class
org.apache.lucene.search.uhighlight.OffsetsEnum
Packages that use OffsetsEnum
Package
Description
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
-
Uses of OffsetsEnum in org.apache.lucene.search.uhighlight
Subclasses of OffsetsEnum in org.apache.lucene.search.uhighlightModifier and TypeClassDescriptionstatic class
A view over several OffsetsEnum instances, merging them in-placestatic class
Based on aMatchesIterator
; does not look at submatches.static class
Based on aMatchesIterator
with submatches.private static class
static class
Based on aPostingsEnum
-- the typical/standard OE impl.private static class
private static class
Fields in org.apache.lucene.search.uhighlight declared as OffsetsEnumFields in org.apache.lucene.search.uhighlight with type parameters of type OffsetsEnumModifier and TypeFieldDescriptionprivate final PriorityQueue<OffsetsEnum>
OffsetsEnum.OfMatchesIteratorWithSubs.pendingQueue
private final PriorityQueue<OffsetsEnum>
OffsetsEnum.MultiOffsetsEnum.queue
Methods in org.apache.lucene.search.uhighlight that return OffsetsEnumModifier and TypeMethodDescriptionprotected OffsetsEnum
FieldOffsetStrategy.createOffsetsEnumFromReader
(LeafReader leafReader, int doc) abstract OffsetsEnum
FieldOffsetStrategy.getOffsetsEnum
(LeafReader reader, int docId, String content) The primary method -- return offsets for highlightable words in the specified document.MemoryIndexOffsetStrategy.getOffsetsEnum
(LeafReader reader, int docId, String content) NoOpOffsetStrategy.getOffsetsEnum
(LeafReader reader, int docId, String content) PostingsOffsetStrategy.getOffsetsEnum
(LeafReader reader, int docId, String content) PostingsWithTermVectorsOffsetStrategy.getOffsetsEnum
(LeafReader leafReader, int docId, String content) TermVectorOffsetStrategy.getOffsetsEnum
(LeafReader reader, int docId, String content) TokenStreamOffsetStrategy.getOffsetsEnum
(LeafReader reader, int docId, String content) Methods in org.apache.lucene.search.uhighlight with parameters of type OffsetsEnumModifier and TypeMethodDescriptionint
OffsetsEnum.compareTo
(OffsetsEnum other) protected Passage[]
FieldHighlighter.highlightOffsetsEnums
(OffsetsEnum off) Method parameters in org.apache.lucene.search.uhighlight with type arguments of type OffsetsEnumModifier and TypeMethodDescriptionprotected 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 theresults
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 parameters in org.apache.lucene.search.uhighlight with type arguments of type OffsetsEnum