work for me could you please suggest me other
solution?
Thank you very much for your help,
Chun.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Customise-score-tp4145214p4145417.html
Sent from the Solr - User mailing list archive at Nabble.com.
,Base_score:'100.2',score:101.65}
I'm not familia with Java so I can't write my own function as somebody do.
So, which is the easiest way to do this work using existing function from
solr?
Thank you very much,
Chun.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Customise
On 2 July 2014 20:32, rachun rachun.c...@gmail.com wrote:
Dear all,
Could anybody suggest me how to customize the score?
So, I have data like this ..
{ID : '0001', Title :'MacBookPro',Price: 400,Base_score:'121.2'}
{ID : '0002', Title :'MacBook',Price: 350,Base_score:'100.2'}
{ID : '0003',
', 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.
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
Subject: Re: Customise score
Hi,
Why did you use upper case? What happens when you use : sort=sum(...
On Wednesday, July 2, 2014 6:23 PM, rachun rachun.c...@gmail.com wrote:
Gora,
firstly I would like thank you for your quick response.
.../select?q=MacBooksort=SUM(base_score, score)+descwt
in context:
http://lucene.472066.n3.nabble.com/Customise-score-tp4145214p4145320.html
Sent from the Solr - User mailing list archive at Nabble.com.
}}
so, when I try something like this
.../select?q=MacBooksort=sum(base_score,base_score)+descwt=jsonindent=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
,query($q,0))+descwt=jsonindent=true
-- Jack Krupansky
-Original Message-
From: rachun
Sent: Wednesday, July 2, 2014 7:44 PM
To: solr-user@lucene.apache.org
Subject: Re: Customise score
Hi Jack,
I tried as you suggest
.../select?q=MacBooksort=sum(base_score,score)+descwt=jsonindent=true
.nabble.com/Customise-score-tp4145214p4145359.html
Sent from the Solr - User mailing list archive at Nabble.com.
10 matches
Mail list logo