Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 30847 invoked from network); 1 Feb 2011 13:31:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 13:31:11 -0000 Received: (qmail 38820 invoked by uid 500); 1 Feb 2011 13:31:08 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 38746 invoked by uid 500); 1 Feb 2011 13:31:04 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 38738 invoked by uid 99); 1 Feb 2011 13:31:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 13:31:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matheis.stefan@googlemail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 13:30:58 +0000 Received: by fxm2 with SMTP id 2so7371857fxm.35 for ; Tue, 01 Feb 2011 05:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=mQKM8rjCNHZWOkAMvb7fnu7NfYIYAOj4CiL5aZLUynk=; b=i7nvnXtir+kqXyYwWu+XJs08CGQFjtntKJjjdZETTvHSSdT7ZXOzUA2G315fqRR55I fuL0bPtqSfJgFe9IobKAaCEGTrvVmpCzrAsTCvEnFHM25KQv4+hTtnGzfkw9ac2KleBW 8joJRlUfqkY0Nt1qJOYvPrO8F+tYka5U0i610= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=iUjKS2qPbiTTRulFWiES0c6wZsW1YDYtowZoRyz62QYhhEI/MyjeKCIQyUh0QB/YK2 VtgouNfaExcrO3Vhv68z2EncVabxpmruGMQmK7GERBOciAR6T+J/UphrWjkxanhUyWdB Fp8YpSG1TuZ9DthqwF/Bhmgj6ytGwD9ndQgaI= MIME-Version: 1.0 Received: by 10.223.86.80 with SMTP id r16mr7674899fal.81.1296567037182; Tue, 01 Feb 2011 05:30:37 -0800 (PST) Received: by 10.223.97.5 with HTTP; Tue, 1 Feb 2011 05:30:37 -0800 (PST) In-Reply-To: References: <562031.72367.qm@web82106.mail.mud.yahoo.com> Date: Tue, 1 Feb 2011 14:30:37 +0100 Message-ID: Subject: Re: chaning schema From: Stefan Matheis To: solr-user@lucene.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable >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 wr= ote: > 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 wro= te: > >> Anyone got a great little script for changing a schema? >> >> i.e., after changing: >> =A0database, >> =A0the view in the database for data import >> =A0the data-config.xml file >> =A0the schema.xml file >> >> I BELIEVE that I have to run: >> =A0a delete command for the whole index *:* >> =A0a full import and optimize >> >> This all sound right? >> >> =A0Dennis 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=92 mistakes, so you do not have to make them >> yourself. >> from 'http://blogs.techrepublic.com.com/security/?p=3D4501&tag=3Dnl.e036= ' >> >> >> EARTH has a Right To Life, >> otherwise we all die. >> >> >