# Uses of Package
org.apache.lucene.search.highlight

Packages that use org.apache.lucene.search.highlight
Package
Description
org.apache.lucene.search.highlight
Highlighting search terms.
org.apache.lucene.search.vectorhighlight
Another highlighter implementation based on term vectors.

Classes in org.apache.lucene.search.highlight used by org.apache.lucene.search.highlight
Class
Description
Encoder
Encodes original text.
Formatter
Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.
Fragmenter
Implements the policy for breaking text into multiple fragments for consideration by the `Highlighter` class.
GradientFormatter
Formats text with different color intensity depending on the score of the term.
InvalidTokenOffsetsException
Exception thrown if TokenStream Tokens are incompatible with provided text
PositionSpan
Utility class to record Positions Spans
QueryScorer
`Scorer` implementation which scores text fragments by the number of unique query terms found.
Scorer
A Scorer is responsible for scoring a stream of tokens.
TextFragment
Low-level class used to record information about a section of a document with a score.
TokenGroup
One, or several overlapping tokens, along with the score(s) and the scope of the original text.
WeightedSpanTerm
Lightweight class to hold term, weight, and positions used for scoring this term.
WeightedSpanTermExtractor
Class used to extract `WeightedSpanTerm`s from a `Query` based on whether `Term`s from the `Query` are contained in a supplied `TokenStream`.
WeightedTerm
Lightweight class to hold term and a weight value used for scoring this term
Classes in org.apache.lucene.search.highlight used by org.apache.lucene.search.vectorhighlight
Class
Description
Encoder
Encodes original text.