lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FunctionQuery" by GrantIngersoll
Date Sat, 12 Dec 2009 22:09:28 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "FunctionQuery" page has been changed by GrantIngersoll.
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=49&rev2=50

--------------------------------------------------

  
  = Function Query Syntax =
  There is currently no infix parser - functions must be expressed as function calls (e.g.
sum(a,b) instead of a+b)
+ 
+ = Sort By Function =
+ 
+ <!> [[Solr1.5]] (https://issues.apache.org/jira/browse/SOLR-1297)
+ 
+ It is now possible to sort the results by the output of a function.  For instance, if an
application wanted to sort by distance, it could do:
+ {{{
+ http://localhost:8983/solr/select?q=*:*&sort=dist(2, point1, point2) desc
+ }}}
+ 
  
  = Available Functions =
  == constant ==

Mime
View raw message