You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/17 15:13:42 UTC
[jira] [Commented] (SOLR-10485) Add eval() Streaming Expression to
execute Evaluators
[ https://issues.apache.org/jira/browse/SOLR-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971135#comment-15971135 ]
ASF subversion and git services commented on SOLR-10485:
--------------------------------------------------------
Commit 5169ecb9768a69e883d5c66b6eb30886bf381b65 in lucene-solr's branch refs/heads/master from [~joel.bernstein]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5169ecb ]
SOLR-10485: Remove incorrect code comment
> Add eval() Streaming Expression to execute Evaluators
> -----------------------------------------------------
>
> Key: SOLR-10485
> URL: https://issues.apache.org/jira/browse/SOLR-10485
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Joel Bernstein
> Attachments: SOLR-10485.patch
>
>
> The eval() function can be used inside of the select function to execute Evaluators:
> {code}
> select(eval(), add(1, 1) as result)
> {code}
> The example above returns a single Tuple with the result of add(1, 1) in the *result* field. This allows Streaming Expressions to perform calculations directly without requiring an underlying stream.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org