Class ConstantScoreQuery.ConstantBulkScorer
We return this as our BulkScorer so that if the CSQ wraps a query with its own optimized top-level scorer (e.g. Lucene.Net.Search.BooleanScorer) we can use that top-level scorer.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
protected class ConstantBulkScorer : BulkScorer
Constructors
| Improve this Doc View SourceConstantBulkScorer(ConstantScoreQuery, BulkScorer, Weight, Single)
Declaration
public ConstantBulkScorer(ConstantScoreQuery outerInstance, BulkScorer bulkScorer, Weight weight, float theScore)
Parameters
Type | Name | Description |
---|---|---|
ConstantScoreQuery | outerInstance | |
BulkScorer | bulkScorer | |
Weight | weight | |
System.Single | theScore |
Methods
| Improve this Doc View SourceScore(ICollector, Int32)
Declaration
public override bool Score(ICollector collector, int max)
Parameters
Type | Name | Description |
---|---|---|
ICollector | collector | |
System.Int32 | max |
Returns
Type | Description |
---|---|
System.Boolean |