lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com.INVALID>
Subject Re: Customise score
Date Wed, 02 Jul 2014 18:19:22 GMT
Hi,


Why did you use upper case? What happens when you use : sort=sum(...



On Wednesday, July 2, 2014 6:23 PM, rachun <rachun.chom@gmail.com> wrote:



Gora,
firstly I would like thank you for your quick response.

.../select?q=MacBook&sort=SUM(base_score, score)+desc&wt=json&indent=true

I tried that but it didn't work and I got this error message 

"error":{
    "msg":"Can't determine a Sort Order (asc or desc) in sort spec
'SUM(base_score, score) desc', pos=15",
    "code":400}}

Best Regards,
Chun




--
View this message in context: http://lucene.472066.n3.nabble.com/Customise-score-tp4145214p4145216.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message