/*(non-Javadoc) @see Lucene.Net.Search.Scorer#next() */ public override bool Next() { bool hasNext = subQueryScorer.Next(); if (hasNext) { for (int i = 0; i < valSrcScorers.Length; i++) { valSrcScorers[i].SkipTo(subQueryScorer.Doc()); } } return(hasNext); }
public override bool Next() { do { if (!scorer.Next()) { return(false); } }while (!bitset.Get(scorer.Doc())); /* When skipTo() is allowed on scorer it should be used here * in combination with bitset.nextSetBit(...) * See the while loop in skipTo() below. */ return(true); }
// pass these methods through to the enclosed scorer public override bool Next() { return(scorer.Next()); }
public override bool Next() { return(docIdSetIterator.Next() && scorer.Next() && AdvanceToCommon()); }