scorerSupplier
Get a ScorerSupplier, which allows knowing the cost of the Scorer before building it. A scorer supplier for the same LeafReaderContext instance may be requested multiple times as part of a single search call.
Note: It must return null if the scorer is null.
Return
a ScorerSupplier providing the scorer, or null if scorer is null
Parameters
context
the leaf reader context
See also
DefaultScorerSupplier
Throws
IOException
if an IOException occurs