Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Simple IFormatter implementation to highlight terms with a pre and post tag More...
Inherits Lucene.Net.Search.Highlight.IFormatter.
Public Member Functions | |
SimpleHTMLFormatter (System.String preTag, System.String postTag) | |
SimpleHTMLFormatter () | |
Default constructor uses HTML: <B> tags to markup terms | |
virtual System.String | HighlightTerm (System.String originalText, TokenGroup tokenGroup) |
Simple IFormatter implementation to highlight terms with a pre and post tag
<author> MAHarwood
</author>
Definition at line 24 of file SimpleHTMLFormatter.cs.
Lucene.Net.Search.Highlight.SimpleHTMLFormatter.SimpleHTMLFormatter | ( | System.String | preTag, |
System.String | postTag | ||
) |
Definition at line 30 of file SimpleHTMLFormatter.cs.
Lucene.Net.Search.Highlight.SimpleHTMLFormatter.SimpleHTMLFormatter | ( | ) |
Default constructor uses HTML: <B> tags to markup terms
Definition at line 40 of file SimpleHTMLFormatter.cs.
|
virtual |
originalText | The section of text being considered for markup |
tokenGroup | contains one or several overlapping Tokens along with their scores and positions. |
Implements Lucene.Net.Search.Highlight.IFormatter.
Definition at line 49 of file SimpleHTMLFormatter.cs.