You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Gastone Penzo <ga...@gmail.com> on 2011/08/01 15:43:30 UTC

order by function

Hi,
i need to order by function like:

sort=sum(field1,field2,field3)+desc

but solr gives me this error:
Missing sort order.
why is this possible? i read that is possible to order by function, from version 1.3
(http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function)

i use version 1.4

nobody has an idea?

thanx


Gastone
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: order by function

Posted by Grant Ingersoll <gs...@apache.org>.
Sort by function is not available in 1.4.  It's in 3.1.


On Aug 1, 2011, at 6:43 AM, Gastone Penzo wrote:

> Hi,
> i need to order by function like:
> 
> sort=sum(field1,field2,field3)+desc
> 
> but solr gives me this error:
> Missing sort order.
> why is this possible? i read that is possible to order by function, from version 1.3
> (http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function)
> 
> i use version 1.4
> 
> nobody has an idea?
> 
> thanx
> 
> 
> Gastone
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 

--------------------------------------------
Grant Ingersoll



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org