示例#1
0
 @Override
 public int nextDoc() throws IOException {
   if (scorerCellQueue == null) {
     this.initScorerCellQueue();
     if ((nrMatchers = scorerCellQueue.nrMatches()) > 0) {
       entity = scorerCellQueue.topEntity();
       this.nextPosition(); // advance to the first position [SRN-24]
       return entity;
     }
     return NO_MORE_DOCS;
   }
   return this.advanceAfterCurrent();
 }