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 <luuvinht...@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.