Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages. More...
Inherited by Lucene.Net.Search.Highlight.GradientFormatter, and Lucene.Net.Search.Highlight.SimpleHTMLFormatter.
Public Member Functions | |
string | HighlightTerm (System.String originalText, TokenGroup tokenGroup) |
Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.
Definition at line 22 of file IFormatter.cs.
string Lucene.Net.Search.Highlight.IFormatter.HighlightTerm | ( | System.String | originalText, |
TokenGroup | tokenGroup | ||
) |
originalText | The section of text being considered for markup |
tokenGroup | contains one or several overlapping Tokens along with their scores and positions. |
Implemented in Lucene.Net.Search.Highlight.SimpleHTMLFormatter.