示例#1
0
 public override int NextDoc()
 {
     if (pos.Next())
     {
         return(docID = pos.Doc);
     }
     else
     {
         return(docID = NO_MORE_DOCS);
     }
 }
示例#2
0
 public override int NextDoc()
 {
     if (Pos.Next())
     {
         return(DocID_Renamed = Pos.Doc());
     }
     else
     {
         return(DocID_Renamed = NO_MORE_DOCS);
     }
 }