예제 #1
0
            /*(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);
            }
예제 #2
0
                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);
                }
예제 #3
0
 // pass these methods through to the enclosed scorer
 public override bool Next()
 {
     return(scorer.Next());
 }
예제 #4
0
 public override bool Next()
 {
     return(docIdSetIterator.Next() && scorer.Next() && AdvanceToCommon());
 }