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")'
http://localhost:8983/solr/gettingstarted/stream

Threw zkHost error. Then tried with,

2)   curl --data-urlencode
'stream=search(gettingstarted,zkHost="localhost:8983",q="*:*",fl="id",sort="id")'
http://localhost:8983/solr/gettingstarted/stream

It throws me "java.lang.ArrayIndexOutOfBoundsException: 1\n\tat
org.apache.solr.client.solrj.io.stream.CloudSolrStream.parseComp(CloudSolrStream.java:260)"

Kindly let me know if you have worked with Streaming API and a way to fix
this issue.

-- 
Regards,
Selvam
KnackForge <http://knackforge.com>

Reply via email to