Re: Strategy for removing an active shard from zookeeper

2014-07-03 Thread Jeff Wartes
To expand on that, the Collections API DELETEREPLICA command is availible in Solr >= 4.6, but will not have the ability wipe the disk until Solr 4.10. Note that whether or not it deletes anything from disk, DELETEREPLICA will remove that replica from your cluster state in ZK, so even in 4.10, reb

Re: Strategy for removing an active shard from zookeeper

2014-06-30 Thread Anshum Gupta
You should use the DELETEREPLICA Collections API: https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api9 As of the last release, I don't think it deletes the index directory but I remember there was a JIRA for the same. For now you could perhaps use this API and follo