背景:数据索引错了,不想要了。也不想一条条删!
方法:
1、在solr客户端,访问你的索引库(我认为最方便的方法)
1)documents type 选择 XML 2)documents 输入下面语句<delete><query>*:*</query></delete><commit/>