The methods of the Scorer class are listed below. For a complete list of Scorer class members, see the Scorer Members topic.
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. |
GetSimilarity | Returns 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. |
Score | Overloaded. |
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. |
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. |
Score | Overloaded. 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. |
Scorer Class | Lucene.Net.Search Namespace | setAllowDocsOutOfOrder