DefaultBulkScorer

Just wraps a Scorer and performs top scoring using it.

Constructors

Link copied to clipboard
constructor(scorer: Scorer)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun cost(): Long

Same as DocIdSetIterator.cost for bulk scorers.

Link copied to clipboard
open override 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.