Re: Filter the search based on the subset of docids.
You'll need to pad your ids to make this work. 01 02 etc. with a length to match the max you require, now or in the future. Or, better, upgrade to a recent release and use NumericField. -- Ian. On Mon, Mar 5, 2012 at 9:46 PM, Kushal Dave wrote: > I have an ID field that contains abo
Filter the search based on the subset of docids.
I have an ID field that contains about 100,000 unique ids. If I want to query all records with ids [1-100], How should I be doing this? I tried doing it the following way: Query qry = new MultiFieldQueryParser( fi