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 2012/08/31 01:58:51 UTC
[Solr Wiki] Update of "FunctionQuery" by HossMan
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:
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=85&rev2=86
Comment:
mod(x,y)
. Example Syntax: '''div(1,x)'''
. Example Syntax: '''div(sum(x,100),max(y,1))'''
+
+ == mod ==
+ <!> [[Solr4.0]] mod(x,y) computes the modulus of the function x by the function y.
+
+ . Example Syntax: '''mod(1,x)'''
+ . Example Syntax: '''mod(sum(x,100),max(y,1))'''
== pow ==
<!> [[Solr1.3]] pow(x,y) raises the base x to the power y.