Joel Bernstein created SOLR-10559:
-------------------------------------
Summary: Add let and set Streaming Expressions
Key: SOLR-10559
URL: https://issues.apache.org/jira/browse/SOLR-10559
Project: Solr
Issue Type: New Feature
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Joel Bernstein
The *let* and *get* Streaming Expressions allows the tuples in a stream to
assigned to a variable so it can be used more then one time during an
expression.
This builds on the *list* and *cell* expressions (SOLR-10551)
Here is the sample syntax:
{code}
let(cell(a, expr),
cell(b, expr),
list(cell(a, get(a)),
cell(b, get(b)),
cell(correlation, correlate(get(a), fielda, get(b), fieldb)))
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]