Examples of sumOfSquaredWeights()


Examples of org.apache.lucene.search.Weight.sumOfSquaredWeights()

      public boolean scoresDocsOutOfOrder() {
        return false;
      }

      public float sumOfSquaredWeights() throws IOException {
        return weight.sumOfSquaredWeights() * getBoost() * getBoost();
      }

      @Override
      public void normalize(final float v) {
        weight.normalize(v * getBoost()); // incorporate boost
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.