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 38E60E721 for ; Wed, 23 Jan 2013 14:40:52 +0000 (UTC) Received: (qmail 42580 invoked by uid 500); 23 Jan 2013 14:40:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 41723 invoked by uid 500); 23 Jan 2013 14:40:45 -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 41320 invoked by uid 99); 23 Jan 2013 14:40:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 14:40:45 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ian.lea@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 14:40:38 +0000 Received: by mail-we0-f176.google.com with SMTP id s43so1113899wey.35 for ; Wed, 23 Jan 2013 06:40:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=syfrRgLGuSOynHABgd7SAyT2VT8/xpuwVVNr+Cp+E/0=; b=obYU3d1W9NEhtcUcH6BzYNbMgjRMqEdg5g4gYafcQhZgGi3uLEaI8EMQS3HZCfmPP6 nmxPId/pmf52krWQEPoUd6ctQlTN/Vh1BjO0gCETb+l63DmO7yh4ATFhnOHGHyzYa/aH /ppF817xgbtuUirBx6QHfRLOugDyzdK4zn16WVMW4WCZ1fGO8LK6d0PBfmEizUvX+Pc8 LELx1Ac2AlOu+KApCwbQJ2Doozd6NKFzcZAr47UkdqWV7Cknu515zmfwKr0mjs6asrYk 6JBxB4u7QKSLy4uQNYufUX2MyVQ++/NiUaUOPDsjxR6Fev80gSrLjOkwDwvgNF82PfVr Az7g== X-Received: by 10.180.99.72 with SMTP id eo8mr27840421wib.34.1358952018032; Wed, 23 Jan 2013 06:40:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.57.11 with HTTP; Wed, 23 Jan 2013 06:39:21 -0800 (PST) In-Reply-To: <1358926475732-4035542.post@n3.nabble.com> References: <1358901022051-4035494.post@n3.nabble.com> <004201cdf92c$414d13a0$c3e73ae0$@thetaphi.de> <1358926475732-4035542.post@n3.nabble.com> From: Ian Lea Date: Wed, 23 Jan 2013 14:39:21 +0000 Message-ID: Subject: Re: Are Search Index directories backward comptabile? ( when upgrading to latest lucene version) To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Lucene 4.x cannot read indexes created with 2.x. You can change and recompile your code to 4.x in one go. Since you can reindex, I'd make all the code changes and then recreate the indexes using 4.x. With a bit of testing along the way of course. -- Ian. On Wed, Jan 23, 2013 at 7:34 AM, saisantoshi wrote: > Also, I am not sure about the following below statement: > >>>A direct update from 2.x to 4.0 is not possible > > Are you saying that its impossible to upgrade from 2.4 - 4.0 version? Why > can't we upgrade? Any technical limitations with Lucene that will not allow > from upgrading from 2.4 - 4.x?. > > I am directly upgrading from 2.4 - 4.x but not sure about any problems with > respect to compilation against 4.x apart from the API changes. I am fixing > them but not sure about any other issues? As far as the indexing is > considered, we are thinking of deleting all the existing indexes and > recreating with the newer version (4.0). > > We don't want to take an extra hop ( 2.4 - 3.6.2 and 3.6.2 - 4.x) which > would cause more work for us. > > Please let us know of any issues with the above approach. > > Thanks, > Sai > > > > -- > View this message in context: http://lucene.472066.n3.nabble.com/Are-Search-Index-directories-backward-comptabile-when-upgrading-to-latest-lucene-version-tp4035494p4035542.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org