Uses of Class
org.apache.lucene.search.uhighlight.OffsetsEnum
-
Packages that use OffsetsEnum Package Description org.apache.lucene.search.uhighlight 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.uhighlight Modifier and Type Class Description static classOffsetsEnum.MultiOffsetsEnumA view over several OffsetsEnum instances, merging them in-placestatic classOffsetsEnum.OfMatchesIteratorBased on aMatchesIterator; does not look at submatches.static classOffsetsEnum.OfMatchesIteratorWithSubsBased on aMatchesIteratorwith submatches.static classOffsetsEnum.OfPostingsBased on aPostingsEnum-- the typical/standard OE impl.Fields in org.apache.lucene.search.uhighlight declared as OffsetsEnum Modifier and Type Field Description static OffsetsEnumOffsetsEnum. EMPTYEmpty enumerationMethods in org.apache.lucene.search.uhighlight that return OffsetsEnum Modifier and Type Method Description protected OffsetsEnumFieldOffsetStrategy. createOffsetsEnumFromReader(LeafReader leafReader, int doc)abstract OffsetsEnumFieldOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)The primary method -- return offsets for highlightable words in the specified document.OffsetsEnumMemoryIndexOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)OffsetsEnumMultiFieldsOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)OffsetsEnumNoOpOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)OffsetsEnumPostingsOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)OffsetsEnumPostingsWithTermVectorsOffsetStrategy. getOffsetsEnum(LeafReader leafReader, int docId, String content)OffsetsEnumTermVectorOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)OffsetsEnumTokenStreamOffsetStrategy. getOffsetsEnum(LeafReader reader, int docId, String content)Methods in org.apache.lucene.search.uhighlight with parameters of type OffsetsEnum Modifier and Type Method Description intOffsetsEnum. compareTo(OffsetsEnum other)protected Passage[]FieldHighlighter. highlightOffsetsEnums(OffsetsEnum off)Method parameters in org.apache.lucene.search.uhighlight with type arguments of type OffsetsEnum Modifier and Type Method Description protected voidFieldOffsetStrategy. createOffsetsEnumsForAutomata(Terms termsIndex, int doc, List<OffsetsEnum> results)voidPhraseHelper. createOffsetsEnumsForSpans(LeafReader leafReader, int docId, List<OffsetsEnum> results)Given the internal SpanQueries, produce a number of OffsetsEnum into theresultsparam.protected voidFieldOffsetStrategy. createOffsetsEnumsForTerms(BytesRef[] sourceTerms, Terms termsIndex, int doc, List<OffsetsEnum> results)protected voidFieldOffsetStrategy. createOffsetsEnumsWeightMatcher(LeafReader _leafReader, int docId, List<OffsetsEnum> results)Constructor parameters in org.apache.lucene.search.uhighlight with type arguments of type OffsetsEnum Constructor Description MultiOffsetsEnum(List<OffsetsEnum> inner)
-