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:31:49 UTC
[jira] [Commented] (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 commented on SOLR-8458:
------------------------------------
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