Re: chaning schema

2011-02-03 Thread Erick Erickson
, February 1, 2011 5:04:51 AM Subject: Re: chaning schema That sounds right. You can cheat and just remove solr_home/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

Re: chaning schema

2011-02-03 Thread Dennis Gearon
=4501tag=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

Re: chaning schema

2011-02-03 Thread Jonathan Rochkind
once, and tomcat refused to sart up because it didn't have a segments file. - Original Message From: Erick Ericksonerickerick...@gmail.com 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

Re: chaning schema

2011-02-01 Thread Erick Erickson
That sounds right. You can cheat and just remove solr_home/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 gear...@sbcglobal.net

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) delete

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 erickerick...@gmail.com To: solr-user@lucene.apache.org Sent: Tue, February 1, 2011 5:04:51 AM Subject: Re: chaning schema

Re: chaning schema

2011-02-01 Thread Erik Hatcher
directory once, and tomcat refused to sart up because it didn't have a segments file. - Original Message From: Erick Erickson erickerick...@gmail.com To: solr-user@lucene.apache.org Sent: Tue, February 1, 2011 5:04:51 AM Subject: Re: chaning schema That sounds right. You can

Re: chaning schema

2011-02-01 Thread Dennis Gearon
: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 wrote: I

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