Hi Ranveer, I'm not really sure if you mean lucene's docid (as that's the auto increment id used in here). Why would you need that in the first place? I'd suggest you not to expose that. Let me know in case you wanted something else. Also, perhaps you could explain the exact usecase and one of us give you a better solution. Hope that helps. -- Anshum Gupta http://ai-cafe.blogspot.com
On Tue, Aug 2, 2011 at 11:22 PM, Ranveer <ranveer.s...@gmail.com> wrote: > Hi, > > How to know the row number of current record. > > i.e : suppose we have 10 million record indexed. Currently I am on 50000th > records and id of the this record is XYZ00234, how to know that the current > record rows no is 50000th. > > thanks.. > > regards > Ranveer > >