You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2017/04/24 15:36:04 UTC
[jira] [Updated] (SOLR-10559) Add let and set Streaming Expressions
[ https://issues.apache.org/jira/browse/SOLR-10559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-10559:
----------------------------------
Description:
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}
was:
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}
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org