Class ScorerUtil


  • class ScorerUtil
    extends java.lang.Object
    Util class for Scorer related methods
    • Constructor Summary

      Constructors 
      Constructor Description
      ScorerUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static long costWithMinShouldMatch​(java.util.stream.LongStream costs, int numScorers, int minShouldMatch)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScorerUtil

        ScorerUtil()
    • Method Detail

      • costWithMinShouldMatch

        static long costWithMinShouldMatch​(java.util.stream.LongStream costs,
                                           int numScorers,
                                           int minShouldMatch)