lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (SOLR-10559) Add let and get Streaming Expressions
Date Mon, 01 May 2017 02:16:04 GMT


ASF subversion and git services commented on SOLR-10559:

Commit b705217bec9706f26c0f45ed6917773bb2d033e3 in lucene-solr's branch refs/heads/master
from [~joel.bernstein]
[;h=b705217 ]

SOLR-10559: Remove debuggin

> Add let and get Streaming Expressions
> -------------------------------------
>                 Key: SOLR-10559
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>         Attachments: SOLR-10559.patch, SOLR-10559.patch, SOLR-10559.patch, SOLR-10559.patch
> The *let* and *get* Streaming Expressions allows the tuples in a stream to be assigned
to a variable so it can be used more then once 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}
> In the example above the *let* expression is saving the contents of two *cell* expressions
(a, b). The *get* expression is retrieving the tuples and using them later in the expression.
> So for example two facet expressions could be stored in the *let*, and then displayed
and correlated later in the expression.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message