[
https://issues.apache.org/jira/browse/SOLR-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966671#comment-15966671
]
ASF subversion and git services commented on SOLR-10485:
--------------------------------------------------------
Commit ee56af22bc0154149699eb46c3896417cf6cdf46 in lucene-solr's branch
refs/heads/master from [~joel.bernstein]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ee56af2 ]
SOLR-10485: Add CalculateStream to allow Solr to behave like a scientific
calculator
> Add CalculateStream to allow Solr to behave like a scientific calculator
> ------------------------------------------------------------------------
>
> 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 CalculateStream returns a single empty Tuple to support this syntax:
> {code}
> select(eval(), add(1, 1) as result)
> {code}
> This will simply add the calculation to the Tuple and return it, turning Solr
> into a scientific calculator.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]