lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Trivial Update of "FunctionQuery" by OtisGospodnetic
Date Thu, 16 Jul 2009 11:57:32 GMT
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 OtisGospodnetic:

   1. Use the FunctionQ!ParserPlugin, ie: {{{q={!func}log(foo)}}}
   1. Use a parameter that has an explicit type of FunctionQuery, such as DisMaxRequestHandler's
'''bf''' (boost function) parameter.
      * NOTE: the '''bf''' parameter actually takes a list of function queries separated by
whitespace and each with an optional boost.  Make sure to eliminate any internal whitespace
in single function queries when using '''bf'''.
-     * Example: {{{q=dismax&bf="ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3"}}}
+     * Example: {{{q=foo&bf="ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3"}}}
  = 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)

View raw message