随手一记 2014-12-25
1.删除索引数据
solr 删除指定ID的索引:http://localhost:8080/solr/update/?stream.body=<delete><id>1</id></delete>&stream.contentType=text/xml;charset=utf-8&commit=true
solr删除id 640以后的索引http://localhost:8080/solr/update/?stream.body=<delete><query>id:[640 TO *]</query></delete>&stream.contentType=text/xml;charset=utf-8&commit=true
2.删除索引结构