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 | Class and Description |
---|---|
class |
DefaultPassageFormatter
Creates a formatted snippet from the top passages.
|
Modifier and Type | Field and Description |
---|---|
protected PassageFormatter |
FieldHighlighter.passageFormatter |
Modifier and Type | Method and Description |
---|---|
protected PassageFormatter |
UnifiedHighlighter.getFormatter(String field)
Returns the
PassageFormatter to use for
formatting passages into highlighted snippets. |
Modifier and Type | Method and Description |
---|---|
void |
UnifiedHighlighter.setFormatter(PassageFormatter formatter) |
Constructor and Description |
---|
FieldHighlighter(String field,
FieldOffsetStrategy fieldOffsetStrategy,
BreakIterator breakIterator,
PassageScorer passageScorer,
int maxPassages,
int maxNoHighlightPassages,
PassageFormatter passageFormatter) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.