Hi,
Is there a way to have Solr completely remove the current index? <deleteAll/> ?

We're still in development and so our schema is wavering. Anytime we make a change and want to re-index we first have to:

stop tomcat (or the solr webapp)
manually remove the data/index
restart tomcat (or the solr webapp)

The removing of the data/index directory is where we have the most trouble, because of the file permissions. The data/index directory is owned by tomcat/tomcat so in order to remove it, we have to issue sudo rm which we'd like to avoid.

Ideally if we could just tell Solr to delete all data without having to do anymore manual work, it'd be great! : )

Something else that would help is if we tell Tomcat/Solr which user/ group and/or permission to use on the data/index directory when it's created.

Any thoughts on this?

Matt

Reply via email to