Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
SOLR-13391: Add variance and standard deviation stream evaluators #643
The Java implementations don't have a great way of doing that. You could do that easily with the expression language though. The java implementations assume that they are being passed information through the expression parser.
The implementations looks great. There are a couple places to add tests.
And TestLang.java just needs the new functions to be added to the allFunctions array.
To run the tests:
ant test -Dtestcase=MathExpressionTest
Thanks for the contribution!
This is pretty much ready to go. Thanks again for the contribution.
I should be able to get this in for the next release. It will be listed in the CHANGES.txt as:
SOLR-13391: Add variance and standard deviation stream evaluators (Nazerke Seidan, Joel Bernstein)
Let me know if you'd like your name listed differently.