Re: Using functions in fq

2011-07-19 Thread solr nps
I read about frange but didn't think about using it like you mentioned :) Thank you. On Tue, Jul 19, 2011 at 4:12 PM, Yonik Seeley wrote: > On Tue, Jul 19, 2011 at 6:49 PM, solr nps wrote: > > My documents have two prices "retail_price" and "current_price". I want > to > > get products which ha

Re: Using functions in fq

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 6:49 PM, solr nps wrote: > My documents have two prices "retail_price" and "current_price". I want to > get products which have a sale of x%, the x is dynamic and can be specified > by the user. I was trying to achieve this by using fq. > > If I want all sony tv's that are

Using functions in fq

2011-07-19 Thread solr nps
My documents have two prices "retail_price" and "current_price". I want to get products which have a sale of x%, the x is dynamic and can be specified by the user. I was trying to achieve this by using fq. If I want all sony tv's that are at least 20% off, I want to write something like q="sony t