Problem with sorting using functions

2011-03-01 Thread John Sherwood
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/fields and nothing seems to change that error. Any ideas? **

Re: Problem with sorting using functions.

2011-02-28 Thread John Sherwood
Fair call. Thanks. On Tue, Mar 1, 2011 at 8:21 AM, Geert-Jan Brits wrote: > 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 > >> This works: >> /select/?q=

Re: Problem with sorting using functions.

2011-02-28 Thread John Sherwood
Fair call. Thanks. On Tue, Mar 1, 2011 at 8:21 AM, Geert-Jan Brits wrote: > 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 > > > This works: > >

Problem with sorting using functions.

2011-02-28 Thread John Sherwood
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?