Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB367E8D7 for ; Tue, 20 Nov 2012 10:32:25 +0000 (UTC) Received: (qmail 32146 invoked by uid 500); 20 Nov 2012 10:32:23 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 32105 invoked by uid 500); 20 Nov 2012 10:32:23 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 32090 invoked by uid 99); 20 Nov 2012 10:32:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 10:32:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of youngestachiever@gmail.com designates 209.85.215.176 as permitted sender) Received: from [209.85.215.176] (HELO mail-ea0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 10:32:12 +0000 Received: by mail-ea0-f176.google.com with SMTP id d13so714371eaa.35 for ; Tue, 20 Nov 2012 02:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=p3QnNJbKNN4SAuyY+NSmnEX9y6uU78myMjPY7xMA1K8=; b=y6PQlTFTb3FhS+sz+jWBAwfYlRyE1kmmcP95IkN3F7d4ZWLWWOOKiLDS+/0gnlrP9S 5J8kX9OPzb/O80NPaIFIF5+W1jPXs4wMzkIY8ThSWwhBX5xSVGZWFJkJTsjmBmenxpyw bOGYFdEh48//PkuedBnjueWCVL9S71bUGyN71qsR7JfpnZLqaNbM6usoROHzE35kesX4 jCIp4krE21gfFpIym5ep8fgke8FZkXs+L2wsG4Y9OqBMGq2NxK9TlemXBtWIsUhN+Ugn rFR6kPT3gPH3MmuPS1bvDwtO32tDM5k38oF/jfs+Xy679kOPRKZqkHP1ZLrDN8K/BLmx dMqg== MIME-Version: 1.0 Received: by 10.14.184.134 with SMTP id s6mr24645013eem.43.1353407511464; Tue, 20 Nov 2012 02:31:51 -0800 (PST) Received: by 10.14.37.70 with HTTP; Tue, 20 Nov 2012 02:31:51 -0800 (PST) In-Reply-To: References: Date: Tue, 20 Nov 2012 16:01:51 +0530 Message-ID: Subject: Re: Using Lucene 2.3 indices with Lucene 4.0 From: Ramprakash Ramamoorthy To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7b3a7ff8f50bf904ceeabddf X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a7ff8f50bf904ceeabddf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Nov 20, 2012 at 3:54 PM, Danil =C5=A2ORIN wrot= e: > However behavior of some analyzers changed. > > So even after upgrade the old index is readable with 4.0, it doesn't mean > everything still works as before. > Thank you Torin, I am using the standard analyzer only and both the systems use Unicode 4.0 and I don't smell any problems here. > > On Tue, Nov 20, 2012 at 12:20 PM, Ian Lea wrote: > > > You can upgrade the indexes with org.apache.lucene.index.IndexUpgrader. > > You'll need to do it in steps, from 2.x to 3.x to 4.x, but should work > > fine as far as I know. > > > > > > -- > > Ian. > > > Thank you Ian, this is giving me some head starts. > > > > > > On Tue, Nov 20, 2012 at 10:16 AM, Ramprakash Ramamoorthy < > > youngestachiever@gmail.com> wrote: > > > > > I understand lucene 2.x indexes are not compatible with the latest > > version > > > of lucene 4.0. However we have all our indexes indexed with lucene 2.= 3. > > > > > > Now that we are planning to migrate to Lucene 4.0, is there any work > > > around/hack I can do, so that I can still read the 2.3 indices? Or is > > > forgoing the older indices the only option? > > > > > > P.S : Am afraid, Re-indexing is not feasible. > > > > > > -- > > > With Thanks and Regards, > > > Ramprakash Ramamoorthy, > > > Chennai, > > > India. > > > > > > --=20 With Thanks and Regards, Ramprakash Ramamoorthy, Engineer Trainee, Zoho Corporation. +91 9626975420 --047d7b3a7ff8f50bf904ceeabddf--