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] [Created] (SOLR-10559) Add let and set Streaming Expressions
Date Mon, 24 Apr 2017 15:36:04 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message