Class BulkScorer
This class is used to score a range of documents at once, and is returned by GetBulkScorer(AtomicReaderContext, bool, 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
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class BulkScorer
Methods
Score(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, int)
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. |
int | max | Score up to, but not including, this doc |
Returns
Type | Description |
---|---|
bool |
|