public override int Advance(int target) { if (pos.SkipTo(target)) { return(docID = pos.Doc); } else { return(docID = NO_MORE_DOCS); } }
public override int Advance(int target) { if (Pos.SkipTo(target)) { return(DocID_Renamed = Pos.Doc()); } else { return(DocID_Renamed = NO_MORE_DOCS); } }