[ https://issues.apache.org/jira/browse/SOLR-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-10485: ---------------------------------- Description: 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*. This allows Streaming Expression to perform calculations directly without requiring an underlying stream. was: The eval() function can be used inside of the select function to execute Evaluators: {code} select(eval(), add(1, 1) as result) {code} > 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*. This allows Streaming Expression 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org