Uses of Class org.apache.lucene.search.uhighlight.LengthGoalBreakIterator (Lucene 10.5.1 highlighter API)
Description: use: package: org.apache.lucene.search.uhighlight, class: LengthGoalBreakIterator

# 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, float fragmentAlignment)`
  Breaks will be on average `targetLength` apart; the closest break to this target (before or after) is chosen.
  `static LengthGoalBreakIterator`
  LengthGoalBreakIterator.`createMinLength(BreakIterator baseIter, int minLength, float fragmentAlignment)`
  Breaks will be at least `minLength` apart (to the extent possible), while trying to position the match inside the fragment according to `fragmentAlignment`.