It was added to 4.0 after the beta release.
See:
http://svn.apache.org/viewvc?view=revision&revision=1379233
Author: hossman
Date: Thu Aug 30 23:49:05 2012 UTC (3 weeks, 4 days ago)
Log Message: SOLR-2768: new "mod(x,y)" function for computing the modulus
of two value sources (merge r1379225)
The beta release was on August 14th.
-- Jack Krupansky
-----Original Message-----
From: reeuv
Sent: Tuesday, September 25, 2012 9:34 AM
To: solr-user@lucene.apache.org
Subject: mod function not working - Solr 4 beta
I am trying to use the mod(x,y) in the query for Solr 4.0 beta. But it keeps
on giving me error
*Unknown function mod in FunctionQuery*
According to the docs, mod function was supposed to be implemented in Solr 4
!!
Is that still a bug ?
Thanks.
--
View this message in context:
http://lucene.472066.n3.nabble.com/mod-function-not-working-Solr-4-beta-tp4010149.html
Sent from the Solr - User mailing list archive at Nabble.com.