lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10559) Add let and set Streaming Expressions
Date Mon, 24 Apr 2017 15:37:04 GMT

     [ 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


Mime
View raw message