## Uses of Interface
org.apache.lucene.search.highlight.Formatter

Packages that use Formatter
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.

### Uses of Formatter in org.apache.lucene.search.highlight

Classes in org.apache.lucene.search.highlight that implement Formatter
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.

Constructors in org.apache.lucene.search.highlight with parameters of type Formatter
Constructor and Description
`Highlighter(Formatter formatter, Encoder encoder, Scorer fragmentScorer)`
`Highlighter(Formatter formatter, Scorer fragmentScorer)`