fromScorer

Returns a DoubleValues instance that wraps scores returned by a Scorer.

Note: If you intend to call Scorable.score on the provided scorer separately, you may want to consider wrapping the collector with to avoid computing the actual score multiple times.