Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-27 Thread Joel Bernstein
Ok, I'll take a look. Thanks! Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Jun 27, 2017 at 10:01 AM, Susheel Kumar wrote: > Hi Joel, > > I have submitted a patch to handle this. Please review. > >

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-27 Thread Susheel Kumar
Hi Joel, I have submitted a patch to handle this. Please review. https://issues.apache.org/jira/secure/attachment/12874681/SOLR-10944.patch Thanks, Susheel On Fri, Jun 23, 2017 at 12:32 PM, Susheel Kumar wrote: > Thanks for confirming. Here is the JIRA > >

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-23 Thread Susheel Kumar
Thanks for confirming. Here is the JIRA https://issues.apache.org/jira/browse/SOLR-10944 On Fri, Jun 23, 2017 at 11:20 AM, Joel Bernstein wrote: > yeah, this looks like a bug in the get expression. > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Fri, Jun 23, 2017

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-23 Thread Joel Bernstein
yeah, this looks like a bug in the get expression. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jun 23, 2017 at 11:07 AM, Susheel Kumar wrote: > Hi Joel, > > As i am getting deeper, it doesn't look like a problem due to hashJoin etc. > > > Below is a simple let

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-23 Thread Susheel Kumar
Hi Joel, As i am getting deeper, it doesn't look like a problem due to hashJoin etc. Below is a simple let expr where if search would not find a match and return 0 result. In that case, I would expect get(a) to show a EOF tuple while it is throwing exception. It looks like something wrong/bug

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-23 Thread Joel Bernstein
Ok, I hadn't anticipated some of the scenarios that you've been trying out. Particularly reading streams into variables and performing joins etc... The main idea with variables was to use them with the new statistical evaluators. So you perform retrievals (search, random, nodes, knn etc...) set

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-22 Thread Susheel Kumar
Hi Joel, I am able to reproduce this in a simple way. Looks like Let Stream is having some issues. Below complement function works fine if I execute outside let and returns an EOF:true tuple but if a tuple with EOF:true assigned to let variable, it gets changed to EXCEPTION "Index 0, Size 0"

Re: Index 0, Size 0 - hashJoin Stream function Error

2017-06-22 Thread Susheel Kumar
Sorry for typo Facing a weird behavior when using hashJoin / innerJoin etc. The below expression display tuples from variable a shown below let(a=fetch(SMS,having(rollup(over=email, count(email), select(search(SMS, q=*:*,

Index 0, Size 0 - hashJoin Stream function Error

2017-06-22 Thread Susheel Kumar
Hello Joel, Facing a weird behavior when using hashJoin / innerJoin etc. The below expression display tuples from variable a and the moment I use get on innerJoin / hashJoin expr on variable c let(a=fetch(SMS,having(rollup(over=email, count(email),