Re: Bug in scoreNodes function of streaming expressions?

2020-01-29 Thread Pratik Patel
Thanks a lot. I will update the ticket with more details if appropriate. Pratik On Wed, Jan 29, 2020 at 10:07 AM Joel Bernstein wrote: > Here is the ticket: > https://issues.apache.org/jira/browse/SOLR-14231 > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > > On Wed, Jan 29, 2020 at 10:0

Re: Bug in scoreNodes function of streaming expressions?

2020-01-29 Thread Joel Bernstein
Here is the ticket: https://issues.apache.org/jira/browse/SOLR-14231 Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Jan 29, 2020 at 10:03 AM Joel Bernstein wrote: > Hi Pratik, > > I'll create the ticket now and report back. If you've got a fix please > post it to the ticket and I'll try

Re: Bug in scoreNodes function of streaming expressions?

2020-01-29 Thread Joel Bernstein
Hi Pratik, I'll create the ticket now and report back. If you've got a fix please post it to the ticket and I'll try to get this in for the next release. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Jan 28, 2020 at 11:52 AM pratik@semandex wrote: > Joel Bernstein wrote > > Ok, that so

Re: Bug in scoreNodes function of streaming expressions?

2020-01-28 Thread pratik@semandex
Joel Bernstein wrote > Ok, that sounds like a bug. I can create a ticket for this. > > On Mon, Jul 1, 2019 at 5:57 PM Pratik Patel < > pratik@ > > wrote: > >> I think the problem was that my streaming expression was always returning >> just one node. When I added more data so that I can have mo

Re: Bug in scoreNodes function of streaming expressions?

2019-07-02 Thread Pratik Patel
Hi Joel, There also seems to be an issue related to how QueryRequest instance is created in scoreNodes implementation. It seems to be using GET method instead of POST. As a result, when underlying stream is big, scoreNodes function fails with an exception "URI is too large" I found a related is i

Re: Bug in scoreNodes function of streaming expressions?

2019-07-02 Thread Pratik Patel
Great, thanks! On Tue, Jul 2, 2019 at 6:37 AM Joel Bernstein wrote: > Ok, that sounds like a bug. I can create a ticket for this. > > On Mon, Jul 1, 2019 at 5:57 PM Pratik Patel wrote: > > > I think the problem was that my streaming expression was always returning > > just one node. When I adde

Re: Bug in scoreNodes function of streaming expressions?

2019-07-02 Thread Joel Bernstein
Ok, that sounds like a bug. I can create a ticket for this. On Mon, Jul 1, 2019 at 5:57 PM Pratik Patel wrote: > I think the problem was that my streaming expression was always returning > just one node. When I added more data so that I can have more than one > node, I started seeing the result.

Re: Bug in scoreNodes function of streaming expressions?

2019-07-01 Thread Pratik Patel
I think the problem was that my streaming expression was always returning just one node. When I added more data so that I can have more than one node, I started seeing the result. On Mon, Jul 1, 2019 at 11:21 AM Pratik Patel wrote: > Hello Everyone, > > I am trying to execute following streaming

Bug in scoreNodes function of streaming expressions?

2019-07-01 Thread Pratik Patel
Hello Everyone, I am trying to execute following streaming expression with "scoreNodes" function in it. This is taken from the documentation. scoreNodes(top(n="50", sort="count(*) desc", nodes(baskets, random(baskets, q="productID:ABC