Re: Streaming API running a simple query

2015-08-11 Thread Selvam
Hi All, I have written a blog to cover this nested merge expressions, see http://knackforge.com/blog/selvam/solr-streaming-expressions for more details. Thanks. On Mon, Aug 10, 2015 at 3:51 PM, Selvam s.selvams...@gmail.com wrote: Hi, Thanks, that seems to be working! On Sat, Aug 8, 2015

Re: Streaming API running a simple query

2015-08-10 Thread Selvam
Hi, Thanks, that seems to be working! On Sat, Aug 8, 2015 at 9:28 PM, Joel Bernstein joels...@gmail.com wrote: This sounds doable using nested merge functions like this: merge(search(...), merge(search(...), search(),...), ...) Joel Bernstein http://joelsolr.blogspot.com/ On

Re: Streaming API running a simple query

2015-08-08 Thread Selvam
Hi, Thanks, good to know, in fact my requirement needs to merge multiple expressions, while current streaming expressions supports only two expression. Do you think we can expect that in future versions? On 07-Aug-2015 6:46 pm, Joel Bernstein joels...@gmail.com wrote: Hi, There is a new error

Re: Streaming API running a simple query

2015-08-08 Thread Joel Bernstein
Can you describe your use case? Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Aug 8, 2015 at 7:36 AM, Selvam s.selvams...@gmail.com wrote: Hi, Thanks, good to know, in fact my requirement needs to merge multiple expressions, while current streaming expressions supports only two

Re: Streaming API running a simple query

2015-08-08 Thread Selvam
Hi, I needed to run a multiple subqueries each with its own limit of rows. For eg: to get 30 users from country India with age greater than 30 and 50 users from England who are all male. Thanks again. On 08-Aug-2015 5:30 pm, Joel Bernstein joels...@gmail.com wrote: Can you describe your use

Re: Streaming API running a simple query

2015-08-08 Thread Joel Bernstein
This sounds doable using nested merge functions like this: merge(search(...), merge(search(...), search(),...), ...) Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Aug 8, 2015 at 8:08 AM, Selvam s.selvams...@gmail.com wrote: Hi, I needed to run a multiple subqueries each

Re: Streaming API running a simple query

2015-08-07 Thread Joel Bernstein
Hi, There is a new error handling framework in trunk (SOLR-7441) for the Streaming API, Streaming Expressions. So if you're purely in testing mode, it will be much easier to work in trunk then Solr 5.2. If you run into errors in trunk that are still confusing please continue to report them so

Re: Streaming API running a simple query

2015-08-07 Thread Shawn Heisey
On 8/7/2015 1:37 AM, Selvam wrote: https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions I tried this from my linux terminal, 1) curl --data-urlencode 'stream=search(gettingstarted,q=*:*,fl=id,sort=id)' http://localhost:8983/solr/gettingstarted/stream Threw zkHost

Streaming API running a simple query

2015-08-07 Thread Selvam
Hi All, I am trying to use Streaming API in Solr 5.2. For eg as per https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions I tried this from my linux terminal, 1) curl --data-urlencode 'stream=search(gettingstarted,q=*:*,fl=id,sort=id)'

Re: Streaming API running a simple query

2015-08-07 Thread Selvam
Hi, Thanks for your update, yes, I was missing the cloud mode, I am new to the world of Solr cloud. Now I have enabled a single node (with two shards replicas) that runs on 8983 port along with zookeeper running on 9983 port. When I run, curl --data-urlencode

Re: Streaming API running a simple query

2015-08-07 Thread Selvam
Hi, Sorry, it is working now. curl --data-urlencode 'stream=search(gettingstarted,q=*:*,fl=id,sort=id asc)' http://localhost:8983/solr/gettingstarted/stream I missed *'asc'* in sort :) Thanks for the help Shawn Heisey. On Fri, Aug 7, 2015 at 3:46 PM, Selvam s.selvams...@gmail.com wrote: Hi,