FileDocCategorySizeDatePackage
Formatter.javaAPI DocApache Lucene 1.91108Mon Feb 20 09:18:22 GMT 2006org.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.