[
https://issues.apache.org/jira/browse/SOLR-8458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072754#comment-15072754
]
Joel Bernstein commented on SOLR-8458:
--------------------------------------
I'm fine either as a pre-processing step or including the substitution as part
of the parsing.
If we stick with the pre-processing step I think we'll need to process the
nested vars. One approach to this would be to continue looping over the
expression string and call the substitution method on each loop until there are
no more $vars.
> 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: [email protected]
For additional commands, e-mail: [email protected]