Uses of Class
org.apache.lucene.search.matchhighlight.Passage
Packages that use Passage
Package
Description
This package contains several components useful to build a highlighter on top of the
Matches API.-
Uses of Passage in org.apache.lucene.search.matchhighlight
Fields in org.apache.lucene.search.matchhighlight with type parameters of type PassageMethods in org.apache.lucene.search.matchhighlight that return PassageModifier and TypeMethodDescriptionprotected Passage[]PassageSelector.pickDefaultPassage(CharSequence value, int maxCharacterWindow, int maxPassages, List<OffsetRange> permittedPassageRanges) Invoked when no passages could be selected (due to constraints or lack of highlight markers).Methods in org.apache.lucene.search.matchhighlight that return types with arguments of type PassageModifier and TypeMethodDescriptionPassageSelector.pickBest(CharSequence value, List<? extends OffsetRange> markers, int maxPassageWindow, int maxPassages) PassageSelector.pickBest(CharSequence value, List<? extends OffsetRange> markers, int maxPassageWindow, int maxPassages, List<OffsetRange> permittedPassageRanges) Methods in org.apache.lucene.search.matchhighlight with parameters of type PassageModifier and TypeMethodDescriptionPassageFormatter.format(StringBuilder buf, CharSequence value, Passage passage) Method parameters in org.apache.lucene.search.matchhighlight with type arguments of type PassageModifier and TypeMethodDescriptionPassageFormatter.format(CharSequence value, List<Passage> passages, List<OffsetRange> ranges) Constructor parameters in org.apache.lucene.search.matchhighlight with type arguments of type PassageModifierConstructorDescriptionPassageSelector(Comparator<Passage> passageScorer, PassageAdjuster passageAdjuster)