: Subject: Re: Return Lucene DocId in Solr Results : : Ahhh, you're already down in Lucene. That makes things easier... : : See TermDocs. Particularly seek(Term). That'll directly access the indexed : unique key rather than having to form a bunch of queries.
you should also sort your "keys" lexigraphically first before you loop over them - that will let you reuse the same Term enumerator and always seek forward (single pass) -Hoss