Interface IFormatter
Processes terms found in the original text, typically by applying some form of mark-up to highlight terms in HTML search results pages.
Namespace: Lucene.Net.Search.Highlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public interface IFormatter
Methods
| Improve this Doc View SourceHighlightTerm(String, TokenGroup)
Declaration
string HighlightTerm(string originalText, TokenGroup tokenGroup)
Parameters
Type | Name | Description |
---|---|---|
System.String | originalText | The section of text being considered for markup |
TokenGroup | tokenGroup | contains one or several overlapping Tokens along with their scores and positions. |
Returns
Type | Description |
---|---|
System.String |