Package | Description |
---|---|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Method and Description |
---|---|
static LengthGoalBreakIterator |
LengthGoalBreakIterator.createClosestToLength(BreakIterator baseIter,
int targetLength)
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)
Breaks will be at least
minLength apart (to the extent possible). |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.