Uses of Class
org.apache.lucene.search.uhighlight.LengthGoalBreakIterator
-
Packages that use LengthGoalBreakIterator Package Description org.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis. -
-
Uses of LengthGoalBreakIterator in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight that return LengthGoalBreakIterator Modifier and Type Method Description static LengthGoalBreakIterator
LengthGoalBreakIterator. createClosestToLength(BreakIterator baseIter, int targetLength)
Breaks will be on averagetargetLength
apart; the closest break to this target (before or after) is chosen.static LengthGoalBreakIterator
LengthGoalBreakIterator. createMinLength(BreakIterator baseIter, int minLength)
Breaks will be at leastminLength
apart (to the extent possible).
-