@Override public float getBoost() { // overridden to remove the deprecation warning return super.getBoost(); }
@Override public float getBoost() { // overridden to remove the deprecation warning return super.getBoost(); }
public float sumOfSquaredWeights() throws IOException { queryWeight = idf * query.getBoost(); // compute query weight return queryWeight * queryWeight; // square it }
public float sumOfSquaredWeights() throws IOException { queryWeight = idf * query.getBoost(); // compute query weight return queryWeight * queryWeight; // square it }
public float sumOfSquaredWeights() throws IOException { idf = this.query.getSimilarity(searcher).idf(terms, searcher); queryWeight = idf * query.getBoost(); // compute query weight return queryWeight * queryWeight; // square it }