Re: Streaming expressions join operations

2016-05-12 Thread Ryan Cutter
Hi Joel, I wiped my repo and started fresh with the hope of documenting my steps and producing a stacktrace for you - of course, this time innerJoin() works fine. :-) I must have gotten something sideways the first time. Thanks for your time. I look forward to diving into this really cool featu

Re: Streaming expressions join operations

2016-05-10 Thread Joel Bernstein
The block of code the NPE is coming from is where the collection nodes are being gathered for the query. So this points to some issue with the cloud setup or the query. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, May 10, 2016 at 9:52 AM, Joel Bernstein wrote: > Can you post the entire

Re: Streaming expressions join operations

2016-05-10 Thread Joel Bernstein
Can you post the entire stack trace? I'd like to see what line the NPE is coming from. The line you pasted in is coming from the wrapper exception I believe. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, May 10, 2016 at 12:30 AM, Ryan Cutter wrote: > Yes, the people collection has the pe

Re: Streaming expressions join operations

2016-05-09 Thread Ryan Cutter
Yes, the people collection has the personId and pets has ownerId, as described. On May 9, 2016 8:55 PM, "Joel Bernstein" wrote: > The example is using two collections: people and pets. So these collections > would need to be present for the join expression to work. > > Joel Bernstein > http://joe

Re: Streaming expressions join operations

2016-05-09 Thread Joel Bernstein
The example is using two collections: people and pets. So these collections would need to be present for the join expression to work. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, May 9, 2016 at 10:43 PM, Ryan Cutter wrote: > Thanks Joel, I added the personId and ownerId fields before in

Re: Streaming expressions join operations

2016-05-09 Thread Ryan Cutter
Thanks Joel, I added the personId and ownerId fields before ingested a little data. I made them to be stored=true/multiValue=false/longs (and strings, later). Is additional schema required? On Mon, May 9, 2016 at 6:45 PM, Joel Bernstein wrote: > Hi, > > The example in the cwiki would require s

Re: Streaming expressions join operations

2016-05-09 Thread Joel Bernstein
Hi, The example in the cwiki would require setting up the people and pets collections. Unless I'm mistaken this won't work with the out of the box schemas. So you'll need to setup some test schemas to get started. Although having out of the box streaming schemas is a great idea. Joel Bernstein ht

Streaming expressions join operations

2016-05-09 Thread Ryan Cutter
Hello, I'm checking out the cool stream join operations in Solr 6.0 but can't seem to the example listed on the wiki to work: https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions#StreamingExpressions-innerJoin innerJoin( search(people, q=*:*, fl="personId,name", sort="personId