Home » lucene-3.0.1-src » org.apache » lucene » search » highlight »

org.apache.lucene.search.highlight

Interfaces:

Encoder   Encodes original text. The Encoder works with the Formatter to generate output.  code | html
Formatter   Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.  code | html
Fragmenter   Implements the policy for breaking text into multiple fragments for consideration by the Highlighter class.  code | html
Scorer   A Scorer is responsible for scoring a stream of tokens.  code | html

Classes:

DefaultEncoder   Simple Encoder implementation that does not modify the output  code | html
FragmentQueue     code | html
GradientFormatter   Formats text with different color intensity depending on the score of the term.  code | html
Highlighter   Class used to markup highlighted terms found in the best sections of a text, using configurable Fragmenter , Scorer , Formatter , Encoder and tokenizers.  code | html
InvalidTokenOffsetsException   Exception thrown if TokenStream Tokens are incompatible with provided text  code | html
NullFragmenter   Fragmenter implementation which does not fragment the text.  code | html
PositionSpan     code | html
QueryScorer   Scorer implementation which scores text fragments by the number of unique query terms found.  code | html
QueryTermExtractor   Utility class used to extract the terms used in a query, plus any weights.  code | html
QueryTermScorer   Scorer implementation which scores text fragments by the number of unique query terms found.  code | html
SimpleFragmenter   Fragmenter implementation which breaks text up into same-size fragments with no concerns over spotting sentence boundaries.  code | html
SimpleHTMLEncoder   Simple Encoder implementation to escape text for HTML output  code | html
SimpleHTMLFormatter   Simple Formatter implementation to highlight terms with a pre and post tag.  code | html
SimpleSpanFragmenter   Fragmenter implementation which breaks text up into same-size fragments but does not split up Spans code | html
SpanGradientFormatter   Formats text with different color intensity depending on the score of the term using the span tag.  code | html
SpanScorer   Scorer implementation which scores text fragments by the number of unique query terms found.  code | html
TextFragment   Low-level class used to record information about a section of a document with a score.  code | html
TokenGroup   One, or several overlapping tokens, along with the score(s) and the scope of the original text  code | html
TokenSources   Hides implementation issues associated with obtaining a TokenStream for use with the higlighter - can obtain from TermFreqVectors with offsets and (optionally) positions or from Analyzer class reparsing the stored content.  code | html
WeightedSpanTerm   Lightweight class to hold term, weight, and positions used for scoring this term.  code | html
WeightedSpanTermExtractor   Class used to extract WeightedSpanTerm s from a Query based on whether Term s from the Query are contained in a supplied TokenStream code | html
WeightedSpanTermExtractor.FakeReader   A fake IndexReader class to extract the field from a MultiTermQuery  code | html
WeightedSpanTermExtractor.PositionCheckingMap   This class makes sure that if both position sensitive and insensitive versions of the same term are added, the position insensitive one wins.  code | html
WeightedTerm   Lightweight class to hold term and a weight value used for scoring this term  code | html