, 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
=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
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
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
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
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
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
: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
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