Re: streaming with SolrJ

2017-09-28 Thread Joel Bernstein
There isn't much documentation for how to use the Streaming API java classes directly. All of the effort has been going into Streaming Expressions which you send to the /stream handler to execute. Over time it's become more and more complicated to use the Java classes because there are so many of t

Re: streaming with SolrJ

2017-09-28 Thread Hendrik Haddorp
hm, thanks, but why are all those withFunctionName calls required and how did you get to this? On 28.09.2017 22:01, Susheel Kumar wrote: I have this snippet with couple of functions e.g. if that helps --- TupleStream stream; List tuples; StreamContext streamContext = new StreamC

Re: streaming with SolrJ

2017-09-28 Thread Susheel Kumar
I have this snippet with couple of functions e.g. if that helps --- TupleStream stream; List tuples; StreamContext streamContext = new StreamContext(); SolrClientCache solrClientCache = new SolrClientCache(); streamContext.setSolrClientCache(solrClientCache); StreamFactory

streaming with SolrJ

2017-09-28 Thread Hendrik Haddorp
Hi, I'm trying to use the streaming API via SolrJ but have some trouble with the documentation and samples. In the reference guide I found the below example in http://lucene.apache.org/solr/guide/6_6/streaming-expressions.html. Problem is that "withStreamFunction" does not seem to exist. Ther