Instead of using SolrQuery to make a query request, you can use the
UpdateRequest class. Something like the following should do the same
as your intended request:
CloudSolrClient solr = new
CloudSolrClient("127.0.0.1:2181,127.0.0.2:2181, 127.0.0.3:218/solr1");
solr.setIdField("cust");
solr.setDefa
Is it possible to execute the following via CloudSolrClient? It works via
curl.
curl
'http://localhost:8983/solr/asset/update/json?_route_="b!"&json.filter="cust:b";'
-H 'Content-type:application/json' -d
'{params:{},"delete":{"query":"cust:b"},"commit": {},"optimize": {}}'
I've tried the fol