lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rachun <rachun.c...@gmail.com>
Subject Re: Customise score
Date Wed, 02 Jul 2014 23:44:40 GMT
Hi Jack,

I tried as you suggest 

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

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

 "error":{
    "msg":"sort param could not be parsed as a query, and is not a field
that exists in the index: sum(base_score,score)",
    "code":400}}

so, when I try something like this

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


it works fine.
How to archive this, any idea?

Best Regards,
Chun





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

Mime
View raw message