On Thu, Apr 21, 2011 at 8:30 AM, Otis Gospodnetic <otis_gospodne...@yahoo.com> wrote: > Hello, > > I'm trying out sorting by function with the new function queries and > invariably > getting this error: > > Can't determine Sort Order: 'termfreq(name,samsung)', pos=22 > > Here's an example call: > http://localhost:8983/solr/select/?q=*:*&sort=termfreq%28name,samsung%29 > > What am I doing wrong?
Try adding the sort order "asc" or "desc" after the function. -Yonik http://www.lucenerevolution.org -- Lucene/Solr User Conference, May 25-26, San Francisco > Thanks, > Otis >