Hi Anshum,

Thanks for reply.

My requirement is to get result start from current id. For this I need to set start rows. I am looking something like Jonty's post : http://lucene.472066.n3.nabble.com/previous-and-next-rows-of-current-record-td3187935.html

thanks
Ranveer



On Wednesday 03 August 2011 08:31 AM, Anshum wrote:
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 <mailto: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



Reply via email to