Thank you.

That was the clue I needed.

Cheers.
- Scott

On 1/4/2026 12:16 PM, Ciprian Dimofte - Opensolr.com wrote:
The issue is Windows quote handling. Use this instead:
curl -X POST -H “Content-Type: application/json” –data-binary 
“{"delete":{"query":":"}}” 
http://localhost:8983/solr/core_name/update?commit=true


Opensolr SRL
Your Path to Ai Search
https://opensolr.com

On 4 Jan 2026, at 14:11, Scott Vanderbilt <[email protected]> wrote:

Hello.

When attempting  to delete all documents from a Solr index, it returns an error 
I've not seen before.

Following the instructions on: 
https://solr.apache.org/guide/solr/latest/indexing-guide/reindexing.html#delete-all-documents,
 I execute the following curl command:

curl -X POST -H 'Content-Type: application/json' --data-binary 
'{"delete":{"query":"*:*"}}' http://localhost:8983/solr/core_name/update

which returns the following response:

   curl: (6) Could not resolve host: application
   {
      "responseHeader":{
        "status":400,
        "QTime":13
      },
      "error":{
   
"metadata":["error-class","org.apache.solr.common.SolrException","root-error-class","org.apache.solr.common.SolrException"],
        "msg":"missing content stream",
        "code":400
      }
   }

Could someone kindly point out what I am doing wrong?

Many thanks in advance.

Environment: Solr 9.9.0 on Windows 11, with JDK 21


Reply via email to