scorer
Optional method that delegates to scorerSupplier.
Returns a Scorer which can iterate in order over all matching documents and assign them a score. A scorer for the same LeafReaderContext instance may be requested multiple times as part of a single search call.
NOTE: null can be returned if no documents will be scored by this query.
NOTE: The returned Scorer does not have LeafReader.getLiveDocs applied, they need to be checked on top.
Return
a Scorer which scores documents in/out-of order.
Parameters
context
the org.gnit.lucenekmp.index.LeafReaderContext for which to return the Scorer.
Throws
IOException
if there is a low-level I/O error