Lucene - Contains search on number field

Topics: Core, Customizing Orchard
Oct 28, 2014 at 3:36 PM
Hi,

I have a scenario where I have to retrieve records with one of the matching category ids and other must match criteria like country and currency.

Eg:
Retrieve all the products which contain at least one of the categories 12, 24, 28, 30 country is USA and currency is USD.

I don't want products that are not part of the above categories and satisfying only country and currency.

Its something like +Categories[12, 24, 28, 30 ] +Country:USA +Currency:USD.

How do I write this by using ISearchBuilder?