Uses of Class
org.apache.lucene.search.uhighlight.FieldOffsetStrategy
Packages that use FieldOffsetStrategy
Package
Description
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.uhighlightModifier and TypeClassDescriptionclass
Provides a base class for analysis based offset strategies to extend from.class
Uses anAnalyzer
on content to get offsets and then populates aMemoryIndex
.class
FieldOffsetStrategy that combines offsets from multiple fields.class
Never returns offsets.class
Uses offsets in postings --IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS
.class
LikePostingsOffsetStrategy
but also uses term vectors (only terms needed) for multi-term queries.class
Uses term vectors that contain offsets.class
Analyzes the text, producing a singleOffsetsEnum
wrapping theTokenStream
filtered to terms in the query, including wildcards.Fields in org.apache.lucene.search.uhighlight declared as FieldOffsetStrategyModifier and TypeFieldDescriptionprotected final FieldOffsetStrategy
FieldHighlighter.fieldOffsetStrategy
Methods in org.apache.lucene.search.uhighlight that return FieldOffsetStrategyModifier and TypeMethodDescriptionprotected FieldOffsetStrategy
UnifiedHighlighter.getOffsetStrategy
(UnifiedHighlighter.OffsetSource offsetSource, UHComponents components) Methods in org.apache.lucene.search.uhighlight with parameters of type FieldOffsetStrategyModifier and TypeMethodDescriptionprotected FieldHighlighter
UnifiedHighlighter.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 FieldOffsetStrategyModifierConstructorDescriptionFieldHighlighter
(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 FieldOffsetStrategyModifierConstructorDescriptionMultiFieldsOffsetStrategy
(List<FieldOffsetStrategy> fieldsOffsetStrategies)