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 HossMan
Date Fri, 30 Jul 2010 02:08:19 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 HossMan.
The comment on this change is: cleaning up DisMaxRequestHandler refs.
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=63&rev2=64

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

  
   1. Embed a FunctionQuery in a regular query expressed in SolrQuerySyntax via the _val_
hook
   1. Use the FunctionQParserPlugin, ie: {{{q={!func}log(foo)}}}
-  1. Use a parameter that has an explicit type of FunctionQuery, such as DisMaxRequestHandler's
'''bf''' (boost function) parameter.
+  1. Use a parameter that has an explicit type of FunctionQuery, such as [[DisMaxQParserPlugin]]'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=foo&bf="ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3"}}}
  

Mime
View raw message