[ 
https://issues.apache.org/jira/browse/SOLR-8458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072875#comment-15072875
 ] 

Yonik Seeley commented on SOLR-8458:
------------------------------------

Yeah, looks like it is already working:

Putting this into my browser:
{code}
http://localhost:8983/solr/techproducts/stream?expr=${foo}&foo=hello
{code}

I get:
{code}
{"EXCEPTION":"'hello' is not a proper expression clause","EOF":true}]}}
{code}

If you try it with a GET in curl, just turn off curl's globbing:
{code}
curl  -g 'http://localhost:8983/solr/techproducts/stream?expr=${foo}&foo=hello'
{code}


> Parameter substitution for Streaming Expressions
> ------------------------------------------------
>
>                 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
>
>
> As Streaming Expressions become more complicated it would be nice to support 
> parameter substitution. For example:
> {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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to