You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/08/27 09:03:43 UTC

[Solr Wiki] Update of "FunctionQuery" by ShalinMangar

Dear Wiki user,

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

The following page has been changed by ShalinMangar:
http://wiki.apache.org/solr/FunctionQuery

The comment on the change is:
Added note on function queries matching all documents

------------------------------------------------------------------------------
      * Example: {{{q=foo&bf="ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3"}}}
  
  See http://wiki.apache.org/solr/SolrPlugins#head-566d72e9c5e48b8c9fd8ae5c898d9e06917a7bb3 for information on how to hook in your own FunctionQuery.
+ 
+ Note that a FunctionQuery matches all non-deleted documents.
  
  = 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)