mirror of https://github.com/apache/lucene.git
SOLR-2371: adds min function, makes max take two value sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071654 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d964adafe9
commit
68f9ccffe7
|
@ -498,6 +498,8 @@ public class TestFunctionQuery extends SolrTestCaseJ4 {
|
|||
dofunc("deg(.5)", Math.toDegrees(.5));
|
||||
dofunc("sqrt(9)", Math.sqrt(9));
|
||||
dofunc("cbrt(8)", Math.cbrt(8));
|
||||
dofunc("max(0,1)", Math.max(0,1));
|
||||
dofunc("min(0,1)", Math.min(0,1));
|
||||
dofunc("log(100)", Math.log10(100));
|
||||
dofunc("ln(3)", Math.log(3));
|
||||
dofunc("exp(1)", Math.exp(1));
|
||||
|
|
Loading…
Reference in New Issue