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)
Deprecated.
|
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)
Deprecated.
|
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 . |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.