The TermScorer type exposes the following members.

Methods

  NameDescription
Public methodAdvance
Advances to the first match beyond the current whose document number is greater than or equal to a given target.
The implementation uses {@link TermDocs#SkipTo(int)}.
(Overrides DocIdSetIterator..::..Advance(Int32).)
Public methodDoc Obsolete. (Overrides DocIdSetIterator..::..Doc()()()().)
Public methodDocID (Overrides DocIdSetIterator..::..DocID()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExplain
Returns an explanation of the score for a document.
When this method is used, the {@link #Next()} method and the {@link #Score(HitCollector)} method should not be used.
(Overrides Scorer..::..Explain(Int32).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSimilarity
Returns the Similarity implementation used by this scorer.
(Inherited from Scorer.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext Obsolete.
Advances to the next document matching the query.
The iterator over the matching documents is buffered using {@link TermDocs#Read(int[],int[])}.
(Overrides DocIdSetIterator..::..Next()()()().)
Public methodNextDoc
Advances to the next document matching the query.
The iterator over the matching documents is buffered using {@link TermDocs#Read(int[],int[])}.
(Overrides DocIdSetIterator..::..NextDoc()()()().)
Public methodScore()()()() (Overrides Scorer..::..Score()()()().)
Public methodScore(Collector) (Overrides Scorer..::..Score(Collector).)
Public methodScore(HitCollector) Obsolete. (Overrides Scorer..::..Score(HitCollector).)
Protected methodScore(HitCollector, Int32) Obsolete. (Overrides Scorer..::..Score(HitCollector, Int32).)
Public methodScore(Collector, Int32, Int32) (Overrides Scorer..::..Score(Collector, Int32, Int32).)
Public methodSkipTo Obsolete.
Skips to the first match beyond the current whose document number is greater than or equal to a given target.
The implementation uses {@link TermDocs#SkipTo(int)}.
(Overrides DocIdSetIterator..::..SkipTo(Int32).)
Public methodToString
Returns a string representation of this
CopyC#
TermScorer
.
(Overrides Object..::..ToString()()()().)

See Also