public override bool Next()
 {
     while (id < maxId)
     {
         id++;
         if (!reader.IsDeleted(id))
         {
             return(true);
         }
     }
     return(false);
 }
Beispiel #2
0
 public override bool Next()
 {
     while (count < (maxDoc - 1))
     {
         count++;
         if (!reader.IsDeleted(count))
         {
             return(true);
         }
     }
     return(false);
 }
Beispiel #3
0
 /*(non-Javadoc) @see Lucene.Net.Search.Scorer#next() */
 public override bool Next()
 {
     for (; ;)
     {
         ++doc;
         if (doc >= maxDoc)
         {
             return(false);
         }
         if (reader.IsDeleted(doc))
         {
             continue;
         }
         return(true);
     }
 }
Beispiel #4
0
 public override bool Match(int docid)
 {
     return(!r.IsDeleted(docid));
 }