public abstract class ScorerSupplier extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
public abstract Scorer get(long leadCost) throws IOException
Scorer. This may not return
nulland must be called at most once.
leadCost- Cost of the scorer that will be used in order to lead iteration. This can be interpreted as an upper bound of the number of times that
TwoPhaseIterator.matches()will be called. Under doubt, pass
Long.MAX_VALUE, which will produce a
Scorerthat has good iteration capabilities.
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.