[
https://issues.apache.org/jira/browse/SOLR-9333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joel Bernstein updated SOLR-9333:
---------------------------------
Summary: Add list and tup Streaming Expressions (was: Add map parameter to
streaming expression)
> Add list and tup Streaming Expressions
> --------------------------------------
>
> 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]