[
https://issues.apache.org/jira/browse/SOLR-8458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073387#comment-15073387
]
Cao Manh Dat edited comment on SOLR-8458 at 12/29/15 2:32 AM:
--------------------------------------------------------------
Yes, I would like to help.
Currently, Streaming Expressions have quite compact syntax
{{funcName(param1|func1,param2|func2,..)}}
So what is the best way to add substitution parameter in Streaming Expression?
Should it be?
{{merge($left, $right,...) with left=search(...), right=search(...)}}
was (Author: caomanhdat):
Yes, I would like to help.
Currently, Streaming Expressions have quite compact syntax
{{code}}
funcName(param1|func1,param2|func2,..)
{{code}}
So what is the best way to add substitution parameter in Streaming Expression?
Should it be?
{{code}}
merge($left, $right,...) with left=search(...), right=search(...)
{{code}}
> Add Streaming Expressions tests for parameter substitution
> ----------------------------------------------------------
>
> Key: SOLR-8458
> URL: https://issues.apache.org/jira/browse/SOLR-8458
> Project: Solr
> Issue Type: Improvement
> Reporter: Joel Bernstein
> Priority: Minor
> Attachments: SOLR-8458.patch
>
>
> This ticket is to add Streaming Expression tests that exercise the existing
> macro expansion feature described here:
> http://yonik.com/solr-query-parameter-substitution/
> Sample syntax below:
> {code}
> http://localhost:8983/col/stream?expr=merge(${left}, ${right},
> ...)&left=search(...)&right=search(...)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]