Well, the nice thing is that I have an Amazon based dev server, and it's AMI stored. So if I screw something up, I just throw away that server and get a fresh one all configured and full of dev data and BAM back to where I was.
So I'll try it again with the -rf flags. I did shut down the server and I am using Tomcat. Dennis Gearon Signature Warning ---------------- It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036' EARTH has a Right To Life, otherwise we all die. ----- Original Message ---- From: Gora Mohanty <g...@mimirtech.com> To: solr-user@lucene.apache.org Sent: Thu, February 3, 2011 6:56:29 AM Subject: Re: chaning schema 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