Highlighter.Net 2.0.0

Highlighter Methods

The methods of the Highlighter class are listed below. For a complete list of Highlighter class members, see the Highlighter Members topic.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBestFragmentOverloaded. Highlights chosen terms in a text, extracting the most relevant section. This is a convenience method that calls {@link #GetBestFragment(TokenStream, String)}
GetBestFragmentsOverloaded. Highlights chosen terms in a text, extracting the most relevant sections. This is a convenience method that calls {@link #getBestFragments(TokenStream, String, int)}
GetBestTextFragments Low level api to get the most relevant (formatted) sections of the document. This method has been made public to allow visibility of score information held in TextFragment objects. Thanks to Jason Calabrese for help in redefining the interface.
GetEncoder 
GetFragmentScorer 
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetMaxDocBytesToAnalyze 
GetTextFragmenter 
GetType (inherited from Object) Gets the Type of the current instance.
SetEncoder 
SetFragmentScorer 
SetMaxDocBytesToAnalyze 
SetTextFragmenter 
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Highlighter Class | Lucene.Net.Highlight Namespace