A query that wraps a filter and simply returns a constant score equal to the
query boost for every document in the filter.
The ConstantScoreQuery..::..ConstantScorer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstantScoreQuery..::..ConstantScorer | Initializes a new instance of the ConstantScoreQuery..::..ConstantScorer class |
Methods
Name | Description | |
---|---|---|
Advance | (Overrides DocIdSetIterator..::..Advance(Int32).) | |
Doc | Obsolete. (Overrides DocIdSetIterator..::..Doc()()()().) | |
DocID | (Overrides DocIdSetIterator..::..DocID()()()().) | |
Equals | (Inherited from Object.) | |
Explain | (Overrides Scorer..::..Explain(Int32).) | |
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. (Overrides DocIdSetIterator..::..Next()()()().) | |
NextDoc | (Overrides DocIdSetIterator..::..NextDoc()()()().) | |
Score()()()() | (Overrides Scorer..::..Score()()()().) | |
Score(Collector) | Scores and collects all matching documents. (Inherited from Scorer.) | |
Score(HitCollector) | Obsolete. Scores and collects all matching documents. (Inherited from Scorer.) | |
Score(HitCollector, Int32) | Obsolete. 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.
(Inherited from Scorer.) | |
Score(Collector, Int32, Int32) | Expert: Collects matching documents in a range. Hook for optimization.
Note, (Inherited from Scorer.)CopyC# firstDocID | |
SkipTo | Obsolete. (Overrides DocIdSetIterator..::..SkipTo(Int32).) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Enclosing_Instance |