Class BulkScorer
This class is used to score a range of documents at once, and is returned by GetBulkScorer(AtomicReaderContext, Boolean, IBits). Only queries that have a more optimized means of scoring across a range of documents need to override this. Otherwise, a default implementation is wrapped around the Scorer returned by GetScorer(AtomicReaderContext, IBits).
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
public abstract class BulkScorer
Methods
| Improve this Doc View SourceScore(ICollector)
Scores and collects all matching documents.
Declaration
public virtual void Score(ICollector collector)
Parameters
Type | Name | Description |
---|---|---|
ICollector | collector | The collector to which all matching documents are passed. |
Score(ICollector, Int32)
Collects matching documents in a range.
Declaration
public abstract bool Score(ICollector collector, int max)
Parameters
Type | Name | Description |
---|---|---|
ICollector | collector | The collector to which all matching documents are passed. |
System.Int32 | max | Score up to, but not including, this doc |
Returns
Type | Description |
---|---|
System.Boolean |
|