Also, if you're on 3.1, the function needs to be without spaces since sort will
split on space to find the sort order.
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
On 28. feb. 2011, at 22.34, John Sherwood wrote:
> Fair call. Thanks.
>
> On Tue, Mar 1, 2011 at 8:
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=*:*&sort=price desc
>>
>> This thr
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=*:*&sort=price desc
> >
> > Thi
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=*:*&sort=price desc
>
> This throws a 400 error:
> /select/?q=*:*&sort=sum(1, 1) desc
>
> "Missing sort order."
>
> I'm us