Package | Description |
---|---|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
Modifier and Type | Class and Description |
---|---|
class |
GradientFormatter
Formats text with different color intensity depending on the score of the
term.
|
class |
SimpleHTMLFormatter
Simple
Formatter implementation to highlight terms with a pre and
post tag. |
class |
SpanGradientFormatter
Formats text with different color intensity depending on the score of the
term using the span tag.
|
Modifier and Type | Field and Description |
---|---|
private Formatter |
Highlighter.formatter |
Constructor and Description |
---|
Highlighter(Formatter formatter,
Encoder encoder,
Scorer fragmentScorer) |
Highlighter(Formatter formatter,
Scorer fragmentScorer) |