BulkScorer

abstract class BulkScorer

This class is used to score a range of documents at once, and is returned by . 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 [ ] returned by Weight.scorer.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun cost(): Long

Same as DocIdSetIterator.cost for bulk scorers.

Link copied to clipboard
abstract fun score(collector: LeafCollector, acceptDocs: Bits?, min: Int, max: Int): Int

Collects matching documents in a range and return an estimation of the next matching document which is on or after max.