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");
cloudSolrClient.queryAndStreamResponse(TWITTER_TWEETS_ALL_TIME, q, new
StreamingResponseCallback() {
...
results in exception:
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot
be cast to org.apache.solr.common.util.NamedList
at
org.apache.solr.client.solrj.impl.StreamingBinaryResponseParser.streamDocs(StreamingBinaryResponseParser.java:170)
~[solr-solrj-8.4.0.jar:8.4.0 bc02ab906445fcf4e297f4ef00ab4a54fdd72ca2 -
jpountz - 2019-12-19 20:19:50]
at
org.apache.solr.client.solrj.impl.StreamingBinaryResponseParser.processResponse(StreamingBinaryResponseParser.java:62)
~[solr-solrj-8.4.0.jar:8.4.0 bc02ab906445fcf4e297f4ef00ab4a54fdd72ca2 -
jpountz - 2019-12-19 20:19:50]
at
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:636)
~[solr-solrj-8.4.0.jar:8.4.0 bc02ab906445fcf4e297f4ef00ab4a54fdd72ca2 -
jpountz - 2019-12-19 20:19:50]
am I doing something wrong or is this a bug?