[ https://issues.apache.org/jira/browse/SOLR-9103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376859#comment-15376859 ]
Joel Bernstein commented on SOLR-9103: -------------------------------------- I'm thinking we should externalize all the function mappings rather then having them coded into classes. It just seems nicer to have a properties file to hold the entire Streaming Expressions function table then to have them defined in the solrconfig.xml. Also Streaming Expression can be run outside of Solr, so having a properties file that can be pointed to would facilitate this. > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org