lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Sorting with customized function of score
Date Sun, 03 Jun 2012 12:56:42 GMT
What version of Solr are you using? When I try this with 3.6
I get an error that "score is not defined".

But what are you trying to accomplish with this particular sort, it
won't actually do anything at all to your sort order or are you just
experimenting?

Best
Erick

On Fri, Jun 1, 2012 at 11:30 AM, Toan V Luu <luuvinhtoan@gmail.com> wrote:
> Hi,
> When i use "sort=score asc" then it works, but when I use a customized
> function like "sort=sum(score,2) asc" then I got an error "can not sort on
> multivalued field: sum(score,2)". Do you know why and how to solve it?
> Thanks
> Toan.

Mime
View raw message