Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
public interface: Formatter [javadoc | source]

All Known Implementing Classes:
    GradientFormatter, SimpleHTMLFormatter, SpanGradientFormatter

Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.
Method from org.apache.lucene.search.highlight.Formatter Summary:
highlightTerm
Method from org.apache.lucene.search.highlight.Formatter Detail:
 public String highlightTerm(String originalText,
    TokenGroup tokenGroup)