sort by functionquery is only available from solr 3.1 (from : http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function)
2011/2/28 John Sherwood <j...@storecrowd.com> > This works: > /select/?q=*:*&sort=price desc > > This throws a 400 error: > /select/?q=*:*&sort=sum(1, 1) desc > > "Missing sort order." > > I'm using 1.4.2. I've tried all sorts of different numbers, functions, and > fields but nothing seems to change that error. Any ideas? >