On Fri, Mar 6, 2009 at 2:41 PM, Neha Bhardwaj <
neha_bhard...@persistent.co.in> wrote:

> Hi all,
>
> I wish to perform a search on the index ,based on a field called
> id(type:Integer).
>
> I want solr to return all the ids between a specified range.
>
>
>
> i.e.
>
> I need to fetch all records that have their id value between say  11-22 or
> say 55-60.
>
>
>
> Is there any provision to do it via solr admin interface or any ways
> without
> writing any code?
>

Use fq=id:[11 TO 22] or fq=id:[55 TO 60]


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to