예제 #1
0
 public override bool Next()
 {
     while (id < maxId)
     {
         id++;
         if (!reader.IsDeleted(id))
         {
             return(true);
         }
     }
     return(false);
 }
예제 #2
0
 public override bool Next()
 {
     while (count < (maxDoc - 1))
     {
         count++;
         if (!reader.IsDeleted(count))
         {
             return(true);
         }
     }
     return(false);
 }
예제 #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);
     }
 }
예제 #4
0
 public override bool Match(int docid)
 {
     return(!r.IsDeleted(docid));
 }