solr5.2.1版删除索引
删除全部
http://localhost:8080/solr/core/update/?stream.body=<delete><query>*:*</query></delete>&stream.contentType=text/xml;charset=utf-8&commit=true
根据id删除
http://localhost:8080/solr/core/update/?stream.body=<delete><id>123</id></delete>&stream.contentType=text/xml;charset=utf-8&commit=true
solr4.10.3版删除索引
第一步:选择documents 二:选择xml 三:填入以下命令
<delete><query>*:*</query></delete><commit/>