The TermScorer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TermScorer | Construct a TermScorer |
Methods
| Name | Description | |
|---|---|---|
| Advance | Advances to the first match beyond the current whose document number is
greater than or equal to a given target. (Overrides DocIdSetIterator..::..Advance(Int32).)The implementation uses {@link TermDocs#SkipTo(int)}. | |
| Doc | Obsolete. (Overrides DocIdSetIterator..::..Doc()()()().) | |
| DocID | (Overrides DocIdSetIterator..::..DocID()()()().) | |
| Equals | (Inherited from Object.) | |
| Explain | Returns an explanation of the score for a document.
(Overrides Scorer..::..Explain(Int32).)When this method is used, the {@link #Next()} method and the {@link #Score(HitCollector)} method should not be used. | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetSimilarity | Returns the Similarity implementation used by this scorer. (Inherited from Scorer.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Next | Obsolete. Advances to the next document matching the query. (Overrides DocIdSetIterator..::..Next()()()().)The iterator over the matching documents is buffered using {@link TermDocs#Read(int[],int[])}. | |
| NextDoc | Advances to the next document matching the query. (Overrides DocIdSetIterator..::..NextDoc()()()().)The iterator over the matching documents is buffered using {@link TermDocs#Read(int[],int[])}. | |
| Score()()()() | (Overrides Scorer..::..Score()()()().) | |
| Score(Collector) | (Overrides Scorer..::..Score(Collector).) | |
| Score(HitCollector) | Obsolete. (Overrides Scorer..::..Score(HitCollector).) | |
| Score(HitCollector, Int32) | Obsolete. (Overrides Scorer..::..Score(HitCollector, Int32).) | |
| Score(Collector, Int32, Int32) | (Overrides Scorer..::..Score(Collector, Int32, Int32).) | |
| SkipTo | Obsolete. Skips to the first match beyond the current whose document number is
greater than or equal to a given target. (Overrides DocIdSetIterator..::..SkipTo(Int32).)The implementation uses {@link TermDocs#SkipTo(int)}. | |
| ToString | Returns a string representation of this (Overrides Object..::..ToString()()()().)TermScorer |