This is not a use-case to which Lucene lends itself. However, if you must, I would try the terms query parser, which I believe is used like this:
{!terms f=id}2,3,6,7 Upayavira On Mon, Jan 4, 2016, at 10:41 AM, Mugeesh Husain wrote: > hi, > > I have a requirement to search ID field values like Id:(2,3,6,7.... upto > millions), > in which query parser i should to write the result should be display > within > a 50 ms. > > > Please suggest me which query parser i should use for above search. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/how-to-search-miilions-of-record-in-solr-query-tp4248360.html > Sent from the Solr - User mailing list archive at Nabble.com.