lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Delete entire index
Date Wed, 13 Jun 2007 18:41:57 GMT
I agree... and the fix really belongs at the Lucene level:


On 6/13/07, Matt Mitchell <> wrote:
> 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

View raw message