Github user dennisgove commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/171#discussion_r107802207 --- Diff: solr/core/src/java/org/apache/solr/handler/StreamHandler.java --- @@ -199,10 +200,16 @@ public void inform(SolrCore core) { .withFunctionName("mult", MultiplyEvaluator.class) .withFunctionName("sub", SubtractEvaluator.class) .withFunctionName("log", NaturalLogEvaluator.class) + // Conditional Stream Evaluators .withFunctionName("if", IfThenElseEvaluator.class) ; + // Date evaluators --- End diff -- I'm not a huge fan of using the same class to handle multiple functions. There are places where we use the class to find the function name and if > 1 functions are mapped to a class then these lookups no longer work. See [this](https://github.com/dennisgove/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/expr/StreamFactory.java#L397) for where it wouldn't work.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org