[
https://issues.apache.org/jira/browse/SOLR-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cassandra Targett updated SOLR-10485:
-------------------------------------
Component/s: streaming expressions
> Add calc() Streaming Expression
> -------------------------------
>
> Key: SOLR-10485
> URL: https://issues.apache.org/jira/browse/SOLR-10485
> Project: Solr
> Issue Type: New Feature
> Components: streaming expressions
> Reporter: Joel Bernstein
> Priority: Major
> Attachments: SOLR-10485.patch
>
>
> The calc() function can be used inside of the select function to execute
> Evaluators:
> {code}
> select(calc(), 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]