Re: Selecting (and sorting!) by the min/max value from multiple fields

2011-04-20 Thread jmaslac
Tanguy, thanks for the anwser. Yes I have already tried that but the problem is that min() function is not yet available (it is set for Solr 3.2). :( Btw. in my original post I've asked if the query could in the results return a new field with this computed minimal value - that is redudant, I'm

Re: Selecting (and sorting!) by the min/max value from multiple fields

2011-04-20 Thread Tanguy Moal
Hello, Have you tried reading : http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function From that page I would try something like : http://host:port/solr/select?q=sony&sort=min(min(priceCash,priceCreditCard),priceCoupon)+asc&rows=10&indent=on&debugQuery=on Is that of any help ? -- Tanguy