FileDocCategorySizeDatePackage
Formatter.javaAPI DocApache Lucene 2.1.01291Wed Feb 14 10:46:22 GMT 2007org.apache.lucene.search.highlight

Formatter

public interface Formatter
Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringhighlightTerm(java.lang.String originalText, TokenGroup tokenGroup)

param
originalText The section of text being considered for markup
param
tokenGroup contains one or several overlapping Tokens along with their scores and positions.