lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Matheis <matheis.ste...@googlemail.com>
Subject Re: chaning schema
Date Tue, 01 Feb 2011 13:30:37 GMT
>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 *:* or?

On Tue, Feb 1, 2011 at 2:04 PM, Erick Erickson <erickerickson@gmail.com> wrote:
> 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 <gearond@sbcglobal.net> wrote:
>
>> 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 sound right?
>>
>>  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.
>>
>>
>

Mime
View raw message