On Thu, Feb 3, 2011 at 6:47 PM, Erick Erickson <erickerick...@gmail.com> wrote: > Erik: > > Is this a Tomcat-specific issue? Because I regularly delete just the > data/index directory on my Windows > box running Jetty without any problems..... (3_x and trunk) > > Mostly want to know because I just encouraged someone to just delete the > index dir based on my > experience... > > Thanks > Erick > > On Tue, Feb 1, 2011 at 12:24 PM, Erik Hatcher <erik.hatc...@gmail.com>wrote: > >> the trick is, you have to remove the data/ directory, not just the >> data/index subdirectory. and of course then restart Solr. >> >> or delete *:*?commit=true, depending on what's the best fit for your ops. >> >> Erik >> >> On Feb 1, 2011, at 11:41 , Dennis Gearon wrote: >> >> > I tried removing the index directory once, and tomcat refused to sart up >> because >> > it didn't have a segments file. [...]
I have seen this error with Tomcat, but in my experience, this has been due to doing a "rm data/index/*" rather than "rm -rf /data/index", or due to doing this without first shutting down Tomcat. Regards, Gora