You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2016/07/23 06:35:20 UTC

[jira] [Created] (SOLR-9333) Add map parameter to streaming expression

Cao Manh Dat created SOLR-9333:
----------------------------------

             Summary: Add map parameter to streaming expression
                 Key: SOLR-9333
                 URL: https://issues.apache.org/jira/browse/SOLR-9333
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Cao Manh Dat
            Assignee: Cao Manh Dat


Currently in streaming expression, if we wanna provide a list of named/unamed parameters. We wrap the values inside a StreamExpressionValue and manually separate value based on ',' character. 

In order to make the streaming expression more compact and extendable, I propose new kind of parameter to streaming expression. 
{code}
Map Expression Parameter : { key1 = value1, key2 = value2, .... }
{code}

So new tuple stream can be 
{code}
arrays({term=a, score=1.0}, {term=b, score=2.0})
or
search(collection1, q=*:*, fl="id,a_s,a_i,a_f", sort="a_f asc, a_i asc", aliases={a_i=alias.a_i, a_s=name})
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org