Uses of Package
org.apache.lucene.search.highlight
Package
Description
Highlighting search terms.
Another highlighter implementation based on term vectors.
-
ClassDescriptionEncodes original text.Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.Implements the policy for breaking text into multiple fragments for consideration by the
Highlighter
class.Formats text with different color intensity depending on the score of the term.Exception thrown if TokenStream Tokens are incompatible with provided textUtility class to record Positions SpansScorer
implementation which scores text fragments by the number of unique query terms found.A Scorer is responsible for scoring a stream of tokens.Low-level class used to record information about a section of a document with a score.One, or several overlapping tokens, along with the score(s) and the scope of the original text.Lightweight class to hold term, weight, and positions used for scoring this term.Class used to extractWeightedSpanTerm
s from aQuery
based on whetherTerm
s from theQuery
are contained in a suppliedTokenStream
.Lightweight class to hold term and a weight value used for scoring this term -