Apache Lucene.Net 2.1 Class Library API

Scorer Methods

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

Public Instance Methods

DocReturns the current document number matching the query. Initially invalid, until {@link #Next()} is called the first time.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Explain 
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.
GetSimilarityReturns the Similarity implementation used by this scorer.
GetType (inherited from Object) Gets the Type of the current instance.
Next 
ScoreOverloaded. Returns the score of the current document matching the query. Initially invalid, until {@link #Next()} or {@link #SkipTo(int)} is called the first time.
SkipTo 
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.

Protected Internal Instance Methods

ScoreOverloaded. Expert: Collects matching documents in a range. Hook for optimization. Note that {@link #Next()} must be called once before this method is called for the first time.

See Also

Scorer Class | Lucene.Net.Search Namespace