Here's an example of an http request that uses the parameter
stream.body
:
http://localhost:8983/solr/COLLECTION-NAME/update?stream.body=<delete><query>*:*</query></delete>
In order for this request to work, you need to enable Streaming in "
solrconfig.xml
":
<requestParsers enableStreamBody="true" />
If you want to update the "
solrconfig.xml" file directly in the Configset, make sure to reload all collections that use the updated Configset.
Visit this page for more details:
http://lucene.apache.org/solr/guide/8_5/requestdispatcher-in-solrconfig.html