You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dennis Gove (JIRA)" <ji...@apache.org> on 2015/12/18 18:35:46 UTC

[jira] [Commented] (SOLR-8443) Change /stream handler http param from "stream" to "func"

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

Dennis Gove commented on SOLR-8443:
-----------------------------------

If open to other suggestions, I find that I tend to refer to that parameter as the expression. Maybe expr=search(....)

> Change /stream handler http param from "stream" to "func"
> ---------------------------------------------------------
>
>                 Key: SOLR-8443
>                 URL: https://issues.apache.org/jira/browse/SOLR-8443
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>            Reporter: Joel Bernstein
>            Priority: Minor
>
> When passing in a Streaming Expression to the /stream handler you currently use the "stream" http parameter. This dates back to when serialized TupleStream objects were passed in. Now that the /stream handler only accepts Streaming Expressions it makes sense to rename this parameter to "func". 
> This syntax also helps to emphasize that Streaming Expressions are a function language.
> For example:
> http://localhost:8983/collection1/stream?func=search(...)



--
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