org.apache.lucene.search.highlight
public interface Formatter
Method Summary | |
---|---|
String | highlightTerm(String originalText, TokenGroup tokenGroup) |
Parameters: originalText The section of text being considered for markup tokenGroup contains one or several overlapping Tokens along with their scores and positions.