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

Joel Bernstein edited comment on SOLR-9103 at 7/19/16 10:54 PM:
----------------------------------------------------------------

Ok, then let's use the solrconfig.xml for adding custom expressions. In that 
case I think this patch looks fine. We can use the same approaches as other 
pluggables and register the standard expressions in a class. 


was (Author: joel.bernstein):
Ok, then let's use the solrconfig for adding custom expressions. In that case I 
think this patch looks fine. We can use the same approaches as other pluggables 
and register the standard expressions in a class. 

> 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
>            Assignee: Joel Bernstein
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to