Re: chaning schema

2011-02-03 Thread Jonathan Rochkind
nce, and tomcat refused to sart up because it didn't have a segments file. - Original Message From: Erick Erickson To: solr-user@lucene.apache.org Sent: Tue, February 1, 2011 5:04:51 AM Subject: Re: chaning schema That sounds right. You can cheat and just remove/data/index rather th

Re: chaning schema

2011-02-03 Thread Dennis Gearon
ecurity/?p=4501&tag=nl.e036' EARTH has a Right To Life, otherwise we all die. - Original Message From: Gora Mohanty 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 wrote: >

Re: chaning schema

2011-02-03 Thread Gora Mohanty
On Thu, Feb 3, 2011 at 6:47 PM, Erick Erickson 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 jus

Re: chaning schema

2011-02-03 Thread Erick Erickson
Erick Erickson > > To: solr-user@lucene.apache.org > > Sent: Tue, February 1, 2011 5:04:51 AM > > Subject: Re: chaning schema > > > > That sounds right. You can cheat and just remove /data/index > > rather than delete *:* though (you should probably do th

Re: chaning schema

2011-02-01 Thread Dennis Gearon
1 9:24:24 AM Subject: Re: chaning schema 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 w

Re: chaning schema

2011-02-01 Thread Erik Hatcher
he index directory once, and tomcat refused to sart up > because > it didn't have a segments file. > > > > > - Original Message > From: Erick Erickson > To: solr-user@lucene.apache.org > Sent: Tue, February 1, 2011 5:04:51 AM > Subject: Re: chanin

Re: chaning schema

2011-02-01 Thread Dennis Gearon
I tried removing the index directory once, and tomcat refused to sart up because it didn't have a segments file. - Original Message From: Erick Erickson To: solr-user@lucene.apache.org Sent: Tue, February 1, 2011 5:04:51 AM Subject: Re: chaning schema That sounds right. Yo

Re: chaning schema

2011-02-01 Thread Stefan Matheis
>From http://wiki.apache.org/solr/DataImportHandler#Commands > The handler exposes all its API as http requests . The following are the > possible operations > [..] > clean : (default 'true'). Tells whether to clean up the index before the > indexing is started so, no need for an (additional) d

Re: chaning schema

2011-02-01 Thread Erick Erickson
That sounds right. You can cheat and just remove /data/index rather than delete *:* though (you should probably do that with the Solr instance stopped) Make sure to remove the directory "index" as well. Best Erick On Tue, Feb 1, 2011 at 1:27 AM, Dennis Gearon wrote: > Anyone got a great li

chaning schema

2011-01-31 Thread Dennis Gearon
Anyone got a great little script for changing a schema? i.e., after changing: database, the view in the database for data import the data-config.xml file the schema.xml file I BELIEVE that I have to run: a delete command for the whole index *:* a full import and optimize This all sou