"frange" (function range) is what you are looking for. http://yonik.com/posts/ranges-over-functions-in-solr-1-4/
-Yonik http://lucidworks.com On Fri, Oct 4, 2013 at 10:21 AM, SandroZbinden <zbin...@imagic.ch> wrote: > Is there a way to use the function return value for a range query > > For example: I have two price fields pricea and priceb and now i want to get > the values where the sum of the pricea and priceb is between [0 TO 5] > > Something like *select?q={!func}sum(pricea,priceb):[0 TO 5]* > > I can't calculate this at index time. > > Bests Sandro > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Use-function-return-value-for-range-queries-tp4093499.html > Sent from the Solr - User mailing list archive at Nabble.com.