I try to use sort by function in a new release of SOLR 3.1, but I have some
problems, for example:
http://localhost:8983/new_search/select?q=mothers
day&indent=true&fl=templateSetId,score,templateSetPopularity&sort=product(templateSetPopularity,query(mothers
day)) desc
templateSetPopularity - my field with popularity rank
query(mothers+day,0.0) - I try to get score value
At result I get error:
HTTP Status 400 - Can't determine Sort Order:
'sum(templateSetPopularity,query(mothers day)) desc', pos=3
Where is my error? 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/sort-by-function-problem-tp2784493p2784493.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to