It's easy to overlook, but all those relevance functions are
on trunk (4.0+) only, not the 3.x code branch..

Sum is a math function that's been in there for quite some time.

Best
Erick

On Sat, Jun 11, 2011 at 8:39 PM, Jason Toy <jason...@gmail.com> wrote:
> I am trying to use sorting by function on solr 3.2 and it doesn't now workt
> with termfreq.  I do this query:
>  /solr/select?q=test&qf=all_lists_text&defType=dismax&sort=termfreq%28all_lists_text%2Ctest%29+desc&rows=50
> I get this error:
> Can't determine Sort Order: 'termfreq(description_text,'test') desc', pos=8
>
> When I use other functions such as sort by "sum(1,2) desc"  or other simple
> functions, solr returns the query, why am I unable to sort with these other
> functions?
>
>
> --
> - sent from my mobile
> 6176064373
>

Reply via email to