code: @Override
     public float sumOfSquaredWeights() throws IOException {
          idf = searcher.getSimilarity().idf(searcher.maxDoc(), searcher.maxDoc()); // compute idf
          queryWeight = idf * 1.0f; // boost         // compute query weight
          return queryWeight * queryWeight;           // square it
      }
docs: {@inheritDoc}