@Override public float freqInNode() throws IOException { if (currentDoc == -1) { // if nextCandidateDocument not called for the first time return 0; } // return the number of matchers in the node return this.nrMatchers(); }
@Override public float scoreInNode() throws IOException { final float nodeScore = super.scoreInNode(); coordinator.nrMatchers += super.nrMatchers(); return nodeScore; }