Solr delete not working for some reason

后端 未结 7 679
自闭症患者
自闭症患者 2021-01-30 09:19

Just trying to delete all the documents, and did this:

http://localhost:8983/solr/update?stream.body=%3Cdelete%3E%3Cquery%3E*:*%3C/query%3E%3C/delete%3E
<         


        
7条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-30 09:46

    In Lucene wiki :

    it will still be found, because index changes are not visible until, and a new searcher is opened. To cause this to happen, send a commit command to Solr (post.jar does this for you by default)

    Maybe you can POST a message to Solr.

提交回复
热议问题