Re: ClassCastException in StreamingBinaryResponseParser when using export handler

2022-02-03 Thread Joel Bernstein
This I would consider a bug. Probably the easiest approach to stream data from the /export handler with Solrj is to use a SolrStream to send a Streaming Expression that reads from the export handler. This blog describes the approach: https://lucidworks.com/post/streaming-expressions-in-solrj/ J

ClassCastException in StreamingBinaryResponseParser when using export handler

2022-02-02 Thread Ufuk YILMAZ
Solr version is 8.4 I'm trying to use the export handler through SolrJ: CloudSolrClient cloudSolrClient = ... SolrQuery q = new SolrQuery(); q.setParam("q", "ts:[1612368422911 TO 1612370422911]"); q.setParam("sort", "ts asc"); q.setParam("fl", "ts"); q.setRequestHandler("/export"); cloudSolrCli