Yeah this not documented. Here are two links that will be helpful: https://issues.apache.org/jira/browse/SOLR-9103
Slide 40 Shows the solrconfig.xml approach to registering new streams: https://www.slideshare.net/lucidworks/creating-new-streams-presented-by-dennis-gove-bloomberg-lp Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Nov 19, 2019 at 3:04 PM Eric Pugh <ep...@opensourceconnections.com> wrote: > The documentation in the StreamHandler suggests adding into Solrconfig > some streamFunctions: > > * <lst name="streamFunctions"> > * <str > name="group">org.apache.solr.client.solrj.io.stream.ReducerStream</str> > * <str > name="count">org.apache.solr.client.solrj.io.stream.RecordCountStream</str> > * </lst> > > > > https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/handler/StreamHandler.java#L114 > > What is happening in StreamHandler doesn’t seem to be working, however in > the similar GraphHandler, there is a call to “streamFunctions”: > > > https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/handler/GraphHandler.java#L90 > > I’m still debugging this… > > Eric > > > > > On Nov 15, 2019, at 9:43 PM, Eric Pugh <ep...@opensourceconnections.com> > wrote: > > > > What is the process for adding new Streaming Expressions? > > > > It appears that the org.apache.solr.client.solrj.io.Lang method > statically loads all the streaming expressions? > > > > Eric > > > > _______________________ > > Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | > http://www.opensourceconnections.com < > http://www.opensourceconnections.com/> | My Free/Busy < > http://tinyurl.com/eric-cal> > > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed < > https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> > > > This e-mail and all contents, including attachments, is considered to be > Company Confidential unless explicitly stated otherwise, regardless of > whether attachments are marked as such. > > > > _______________________ > Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | > http://www.opensourceconnections.com < > http://www.opensourceconnections.com/> | My Free/Busy < > http://tinyurl.com/eric-cal> > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed < > https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> > > This e-mail and all contents, including attachments, is considered to be > Company Confidential unless explicitly stated otherwise, regardless of > whether attachments are marked as such. > >