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 E5B5A93E2 for ; Thu, 19 Jan 2012 19:02:10 +0000 (UTC) Received: (qmail 12806 invoked by uid 500); 19 Jan 2012 19:02:08 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 12743 invoked by uid 500); 19 Jan 2012 19:02:07 -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 12734 invoked by uid 99); 19 Jan 2012 19:02:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 19:02:07 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of carlton@sumologic.com does not designate 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 19:02:01 +0000 Received: by qcsp19 with SMTP id p19so185764qcs.35 for ; Thu, 19 Jan 2012 11:01:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.186.209 with SMTP id ct17mr541191qab.55.1326999699801; Thu, 19 Jan 2012 11:01:39 -0800 (PST) Received: by 10.229.253.74 with HTTP; Thu, 19 Jan 2012 11:01:39 -0800 (PST) Date: Thu, 19 Jan 2012 11:01:39 -0800 Message-ID: Subject: any tips for upgrading Lucene 3.0.3 -> 3.5.0? From: David Carlton To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=20cf30334973b947f604b6e6312a X-Virus-Checked: Checked by ClamAV on apache.org --20cf30334973b947f604b6e6312a Content-Type: text/plain; charset=ISO-8859-1 I'm hoping to upgrade Lucene on a local code base from 3.0.3 to 3.5.0; is there a good guide out there for particular pitfalls that I should worry about? I've skimmed the ChangeLogs; the mention of an index upgrade tool made me wonder: has the index format changed between those versions? If so, what's the best way to handle that without reindexing? (I was assuming that I'd be able to be careful about where I pass in VERSION_30 and where I pass in VERSION_35, but looking through the current code, there actually are basically no non-test situations where we pass in a version number at all - e.g. we only use QueryParser for test code - so maybe I don't have to worry about incompatibilities?) Any other gotchas that won't be obvious from compilation failures and straightforward sanity check test failures? (We do have tests that run basic queries on sample input.) Are there intermediate versions that we should try, e.g. 3.0.3 -> 3.4.0 -> 3.5.0 instead of going straight from 3.0.3 to 3.5.0? If it matters: the one unusual Lucene usage that we have is that we've written our own Tokenizer. Thanks for any pointers that people have. -- David Carlton carlton@sumologic.com --20cf30334973b947f604b6e6312a--