Return-Path: Delivered-To: apmail-incubator-lucy-dev-archive@www.apache.org Received: (qmail 27386 invoked from network); 11 Nov 2010 15:21:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 15:21:57 -0000 Received: (qmail 41044 invoked by uid 500); 11 Nov 2010 15:22:28 -0000 Delivered-To: apmail-incubator-lucy-dev-archive@incubator.apache.org Received: (qmail 40980 invoked by uid 500); 11 Nov 2010 15:22:28 -0000 Mailing-List: contact lucy-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucy-dev@incubator.apache.org Delivered-To: mailing list lucy-dev@incubator.apache.org Received: (qmail 40967 invoked by uid 99); 11 Nov 2010 15:22:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 15:22:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.203.201.122] (HELO barracuda01.mpr.org) (192.203.201.122) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 15:22:22 +0000 X-ASG-Debug-ID: 1289488921-3ff9aa6b0001-2JKy5F Received: from HQMAIL07.mpr.org (hqesnode01.mpr.org [10.2.2.100]) by barracuda01.mpr.org with ESMTP id SpA3h7UeGpm1n6md for ; Thu, 11 Nov 2010 09:22:01 -0600 (CST) X-Barracuda-Envelope-From: peter@peknet.com X-ASG-Whitelist: Client Received: from mail.mpr.org ([10.2.2.87]) by HQMAIL07.mpr.org with Microsoft SMTPSVC(6.0.3790.4675); Thu, 11 Nov 2010 09:22:01 -0600 Received: from pkarmanpc ([10.2.9.144]) by mail.mpr.org with Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Nov 2010 09:22:01 -0600 Received: from [127.0.0.1] (localhost [127.0.0.1]) by pkarmanpc (Postfix) with ESMTP id 1EA5721A616 for ; Thu, 11 Nov 2010 09:22:01 -0600 (CST) Message-ID: <4CDC0A18.7090207@peknet.com> Date: Thu, 11 Nov 2010 09:22:00 -0600 From: Peter Karman User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: lucy-dev@incubator.apache.org X-ASG-Orig-Subj: Re: [lucy-dev] Index modernizer References: <20101110154934.GA17757@rectangular.com> In-Reply-To: <20101110154934.GA17757@rectangular.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Nov 2010 15:22:01.0347 (UTC) FILETIME=[303B2530:01CB81B4] X-Barracuda-Connect: hqesnode01.mpr.org[10.2.2.100] X-Barracuda-Start-Time: 1289488921 X-Barracuda-URL: http://barracuda.mpr.org:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at mpr.org Subject: Re: [lucy-dev] Index modernizer Marvin Humphrey wrote on 11/10/2010 09:49 AM: > Greets, > > As the index format changes, we accumulate cruft in our codebase to support > old indexes and old segments. At some point, we need to purge such cruft and > abandon support for old indexes. But if you are a user, it's hard to know > whether your index has old segments in it, and whether you can upgrade safely > to a given version of the library. > You're describing the back compat path for KS users switching to Lucy, yes? > I'm torn as to where to implement this functionality. Since it may be > necessary to load custom classes, e.g. FieldType or Schema subclasses, that > suggests a Cookbook/sample app which the user might modify. On the other > hand, if we are going to require that users run this app in order to upgrade > -- and we will, sooner or later -- maybe there ought to be a core class, > Lucy::Index::Modernizer... Probably best to start with Cookbook/sample code > which makes no public API promises, methinks... > Yes. Maybe write the cookbook recipe for upgrading KS to Lucy, and then we can see if it needs to be formalized into a part of the core? -- Peter Karman . http://peknet.com/ . peter@peknet.com