Apache Lucene.Net 2.4.0 Class Library API

Scorer Members

Scorer overview

Public Instance Methods

Doc (inherited from DocIdSetIterator) Returns the current document number. This is invalid until Next() is called for 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. GetHashCode is 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 (inherited from DocIdSetIterator) Moves to the next docId in the set. Returns true, iff there is such a docId.
ScoreOverloaded.  
SkipTo (inherited from DocIdSetIterator) Skips entries to the first beyond the current whose document number is greater than or equal to target. Returns true iff there is such an entry. Behaves as if written:
 boolean skipTo(int target) { do { if (!next()) return false; } while (target > doc()); return true; } 
Some implementations are considerably more efficient than that.
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 Constructors

Scorer Constructor Constructs a Scorer.

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 | setAllowDocsOutOfOrder