18 namespace Lucene.Net.Search.Highlight
26 internal System.String preTag;
27 internal System.String postTag;
33 this.postTag = postTag;
43 this.postTag =
"</B>";
49 public virtual System.String HighlightTerm(System.String originalText,
TokenGroup tokenGroup)
51 System.Text.StringBuilder returnBuffer;
54 returnBuffer =
new System.Text.StringBuilder();
55 returnBuffer.Append(preTag);
56 returnBuffer.Append(originalText);
57 returnBuffer.Append(postTag);
58 return returnBuffer.ToString();