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 2015/12/29 03:32:49 UTC
[jira] [Comment Edited] (SOLR-8458) Add Streaming Expressions tests
for parameter substitution
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org