Beispiel #1
0
 public override int NextDoc(IState state)
 {
     if (scorerDocQueue.Size() < minimumNrMatchers || !AdvanceAfterCurrent(state))
     {
         currentDoc = NO_MORE_DOCS;
     }
     return(currentDoc);
 }
 public override bool Next()
 {
     if (scorerDocQueue == null)
     {
         InitScorerDocQueue();
     }
     return((scorerDocQueue.Size() >= minimumNrMatchers) && AdvanceAfterCurrent());
 }