不确定是否重要,但是您也可以编码:
http://localhost:8983/solr/update?stream.body=%3Cdelete%3E%3Cquery%3E*%3A*%3C%2Fquery%3E%3C%2Fdelete%3E
@H_419_4@
要尝试的另一件事是使用POST方法(调用update的首选方法):
curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
@H_419_4@