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 7CA73E772 for ; Tue, 20 Nov 2012 10:25:49 +0000 (UTC) Received: (qmail 11054 invoked by uid 500); 20 Nov 2012 10:25:47 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 10998 invoked by uid 500); 20 Nov 2012 10:25:46 -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 10967 invoked by uid 99); 20 Nov 2012 10:25:45 -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:25:45 +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 torindan@gmail.com designates 74.125.83.48 as permitted sender) Received: from [74.125.83.48] (HELO mail-ee0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 10:25:39 +0000 Received: by mail-ee0-f48.google.com with SMTP id b57so3799001eek.35 for ; Tue, 20 Nov 2012 02:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ZjQnHJV1lmg8l/EGXzVDXO+zDRAty4HGAoy1K11+ZZI=; b=vtnalDFs1YTbh3r60kdaKDn1KDUdbgT7qHGaCy5KYKLeNYplbx0/0KNnKsxQ2KQsAl gqt24Wc0AusA5ZCOPIGrC76FgIAHce9VH0uxShEH6bQb1Xx15FqiWAlPdw9ARVWePR5A PNsoLwDch652cz0bKJFgEqR1mqCqd9nMaLzV3uqGU00J/12vZMWwhkUjTzaY05eZyYVv QVmzjpEtGCQhhRD/MR7s3HI0/M39ZBbomENDq3pCootvfGhYzvdIRJvXXn+acfAsU654 AVgn+QQscRmhUWXHttyCQseaW7QUt1WVyNRMfFZNeffAkVNZiZBSVnSpFY+qq2JSTeKi HEOQ== Received: by 10.14.184.134 with SMTP id s6mr24601659eem.43.1353407118260; Tue, 20 Nov 2012 02:25:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.177.5 with HTTP; Tue, 20 Nov 2012 02:24:38 -0800 (PST) In-Reply-To: References: From: =?UTF-8?B?RGFuaWwgxaJPUklO?= Date: Tue, 20 Nov 2012 12:24:38 +0200 Message-ID: Subject: Re: Using Lucene 2.3 indices with Lucene 4.0 To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7b3a7ff885383404ceeaa618 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a7ff885383404ceeaa618 Content-Type: text/plain; charset=UTF-8 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. 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. > > > > 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. > > > --047d7b3a7ff885383404ceeaa618--