Solr删除或清空索引
删除索引
1 | <delete><id>1</id></delete> |
或1
2<delete><query>id:1</query></delete>
<commit/>
清空索引
1 | <delete><query>*:*</query></delete> |
1 | <delete><id>1</id></delete> |
或1
2<delete><query>id:1</query></delete>
<commit/>
1 | <delete><query>*:*</query></delete> |