The http parameter is 'expr', you're using stream.body. The docs contain the basic syntax: https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions
Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Jan 11, 2017 at 7:13 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Hi, > > I'm using Solr 6.2.1. > > When I tried to use the stream function, I'm getting this error. > > {"result-set":{"docs":[ > {"EXCEPTION":null,"EOF":true}]}} > > > The URL which I'm using is > http://localhost:8983/solr/gettingstarted/stream?stream. > body='search(gettingstarted,q="*:*",fl="id, > city", fq="city:San Pedro",sort="id asc")' > > What could be wrong with my query or setup? > > Regards, > Edwin >