Package | Description |
---|---|
org.apache.lucene.search.highlight |
The highlight package contains classes to provide "keyword in context" features
typically used to highlight search terms in the text of results pages.
|
Modifier and Type | Class | 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.
|
Constructor | Description |
---|---|
Highlighter(Formatter formatter,
Encoder encoder,
Scorer fragmentScorer) |
|
Highlighter(Formatter formatter,
Scorer fragmentScorer) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.