Uses of Class
org.apache.lucene.search.uhighlight.FieldOffsetStrategy
-
Packages that use FieldOffsetStrategy Package Description org.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis. -
-
Uses of FieldOffsetStrategy in org.apache.lucene.search.uhighlight
Subclasses of FieldOffsetStrategy in org.apache.lucene.search.uhighlight Modifier and Type Class Description classAnalysisOffsetStrategyProvides a base class for analysis based offset strategies to extend from.classMemoryIndexOffsetStrategyUses anAnalyzeron content to get offsets and then populates aMemoryIndex.classMultiFieldsOffsetStrategyFieldOffsetStrategy that combines offsets from multiple fields.classNoOpOffsetStrategyNever returns offsets.classPostingsOffsetStrategyUses offsets in postings --IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS.classPostingsWithTermVectorsOffsetStrategyLikePostingsOffsetStrategybut also uses term vectors (only terms needed) for multi-term queries.classTermVectorOffsetStrategyUses term vectors that contain offsets.classTokenStreamOffsetStrategyAnalyzes the text, producing a singleOffsetsEnumwrapping theTokenStreamfiltered to terms in the query, including wildcards.Fields in org.apache.lucene.search.uhighlight declared as FieldOffsetStrategy Modifier and Type Field Description protected FieldOffsetStrategyFieldHighlighter. fieldOffsetStrategyMethods in org.apache.lucene.search.uhighlight that return FieldOffsetStrategy Modifier and Type Method Description protected FieldOffsetStrategyUnifiedHighlighter. getOffsetStrategy(UnifiedHighlighter.OffsetSource offsetSource, UHComponents components)Methods in org.apache.lucene.search.uhighlight with parameters of type FieldOffsetStrategy Modifier and Type Method Description protected FieldHighlighterUnifiedHighlighter. newFieldHighlighter(String field, FieldOffsetStrategy fieldOffsetStrategy, BreakIterator breakIterator, PassageScorer passageScorer, int maxPassages, int maxNoHighlightPassages, PassageFormatter passageFormatter, Comparator<Passage> passageSortComparator)Constructors in org.apache.lucene.search.uhighlight with parameters of type FieldOffsetStrategy Constructor Description FieldHighlighter(String field, FieldOffsetStrategy fieldOffsetStrategy, BreakIterator breakIterator, PassageScorer passageScorer, int maxPassages, int maxNoHighlightPassages, PassageFormatter passageFormatter, Comparator<Passage> passageSortComparator)Constructor parameters in org.apache.lucene.search.uhighlight with type arguments of type FieldOffsetStrategy Constructor Description MultiFieldsOffsetStrategy(List<FieldOffsetStrategy> fieldsOffsetStrategies)
-