Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 54812 invoked from network); 1 Feb 2011 16:42:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 16:42:13 -0000 Received: (qmail 27054 invoked by uid 500); 1 Feb 2011 16:42:10 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 26680 invoked by uid 500); 1 Feb 2011 16:42:07 -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 26671 invoked by uid 99); 1 Feb 2011 16:42:06 -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 16:42:06 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.191.84.217] (HELO web82104.mail.mud.yahoo.com) (209.191.84.217) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Feb 2011 16:41:59 +0000 Received: (qmail 26545 invoked by uid 60001); 1 Feb 2011 16:41:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1296578497; bh=Mff9tMSvvs+xqbUPUjTTkKSgsOXqRA7AdAYczlXYOrU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lthzC8nrNL+JQFi3/wmPOb5zndycGyOPFXREt9Zus5KiHKl4mI5O7rMtesPdkvk5lqKm+MCzJloIr5sFH24cAdO5xJ87O/vcmnndDDRKwEFdZM9NZagOVBiyuAPa/aysJmKWNk8MRpOpoiajYZe8Lr8px5yexx6a1P5rN6v7bvw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IiuRhwc04c7wtW67VP0MyEQxaZc2xeyPcCthhEStNJbY4TmNaSl7SJjQM6Ij5DNOLkRdbwcvAXWJY0ohQNJ6a9T4+n1tTIOHRcfy2htJUFWbIVL7cw1A90UVZH0knJtIdTs5y2HnlU++HNq5u9Y5/j/s7E4tS1N1DYlToLFj7qo=; Message-ID: <90536.26147.qm@web82104.mail.mud.yahoo.com> X-YMail-OSG: NyIigVUVM1kB8G55h23MKvD60dQxdUh4gD253R6XCdPCzwY qBWSFPyUR_M757qx_BjWnTNJNKb.VpLgNi6yJP_hqMNqBhwejjjtLXkfjALS 0uq_laZ6ZQ0TqhbpYmXFun01ToTKkyb4a9FiVwgnYwL31lPvxIxiSV3h7n99 yDnYFqQMTmqvrCR.YhnddWuAjvaow2zL_dw1gPH3zN8GhSUAAA6kxofhVrwr dNyMwTnI3.mroEZY5He5cgprTUVKrlxicdwPEviAIObwsl6KdNRA4cKzjRdX m1CwVxYCt.Suu9skmEONwnv_oFP3MBOjb.59BfSPvYGSctxG8pefXXZOYeVI YVBRZ0n4- Received: from [75.25.120.243] by web82104.mail.mud.yahoo.com via HTTP; Tue, 01 Feb 2011 08:41:37 PST X-Mailer: YahooMailRC/555 YahooMailWebService/0.8.107.285259 References: <562031.72367.qm@web82106.mail.mud.yahoo.com> Date: Tue, 1 Feb 2011 08:41:37 -0800 (PST) From: Dennis Gearon Subject: Re: chaning schema To: solr-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I tried removing the index directory once, and tomcat refused to sart up be= cause =0Ait didn't have a segments file.=0A=0A =0A=0A=0A----- Original Mess= age ----=0AFrom: Erick Erickson =0ATo: solr-user@l= ucene.apache.org=0ASent: Tue, February 1, 2011 5:04:51 AM=0ASubject: Re: ch= aning schema=0A=0AThat sounds right. You can cheat and just remove /data/index=0Arather than delete *:* though (you should probably do that= with the Solr=0Ainstance stopped)....=0A=0AMake sure to remove the directo= ry "index" as well.=0A=0ABest=0AErick=0A=0AOn Tue, Feb 1, 2011 at 1:27 AM, = Dennis Gearon wrote:=0A=0A> Anyone got a great litt= le script for changing a schema?=0A>=0A> i.e., after changing:=0A> databas= e,=0A> the view in the database for data import=0A> the data-config.xml f= ile=0A> the schema.xml file=0A>=0A> I BELIEVE that I have to run:=0A> a d= elete command for the whole index *:*=0A> a full import and optimize=0A>= =0A> This all sound right?=0A>=0A> Dennis Gearon=0A>=0A>=0A> Signature War= ning=0A> ----------------=0A> It is always a good idea to learn from your o= wn mistakes. It is usually a=0A> better=0A> idea to learn from others=E2=80= =99 mistakes, so you do not have to make them=0A> yourself.=0A> from 'http:= //blogs.techrepublic.com.com/security/?p=3D4501&tag=3Dnl.e036'=0A>=0A>=0A> = EARTH has a Right To Life,=0A> otherwise we all die.=0A>=0A>=0A