只是试图删除所有文件,并做到了这一点:
http://localhost:8983/solr/update?stream.body=%3Cdelete%3E%3Cquery%3E*:*%3C/query%3E%3C/delete%3E
Run Code Online (Sandbox Code Playgroud)
然后承诺:
http://localhost:8983/solr/update?stream.body=%3Ccommit/%3E
Run Code Online (Sandbox Code Playgroud)
我收到了回复:
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">17</int>
</lst>
</response>
Run Code Online (Sandbox Code Playgroud)
但是当我搜索时,我仍然会得到结果.
我做错了什么?