Overload List

  NameDescription
Public methodGetBestFragment(TokenStream, String)
Highlights chosen terms in a text, extracting the most relevant section. The document text is analysed in chunks to record hit statistics across the document. After accumulating stats, the fragment with the highest score is returned
Public methodGetBestFragment(Analyzer, String, String)
Highlights chosen terms in a text, extracting the most relevant section. This is a convenience method that calls {@link #GetBestFragment(TokenStream, String)}

See Also