You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/07/12 15:33:21 UTC

[jira] [Comment Edited] (SOLR-9103) Restore ability for users to add custom Streaming Expressions

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

Joel Bernstein edited comment on SOLR-9103 at 7/12/16 3:32 PM:
---------------------------------------------------------------

We need to the restore the ability for users to add their own expressions. But I'm not sure the solrconfig.xml is the best place to do this.

How do people feel about adding a new *expressions.properties* file to the configset?


was (Author: joel.bernstein):
We need to the restore the ability for users to add their own expressions. But I'm not sure the solrconfig.xml is the best place to do this.

How do people feel about adding a new expressions.properties file to the configset?

> Restore ability for users to add custom Streaming Expressions
> -------------------------------------------------------------
>
>                 Key: SOLR-9103
>                 URL: https://issues.apache.org/jira/browse/SOLR-9103
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Cao Manh Dat
>         Attachments: HelloStream.class, SOLR-9103.PATCH, SOLR-9103.PATCH
>
>
> StreamHandler is an implicit handler. So to make it extensible, we can introduce the below syntax in solrconfig.xml. 
> {code}
> <expressible name="hello" class="org.apache.solr.search.HelloStream"/>
> {code}
> This will add hello function to streamFactory of StreamHandler.



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