Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 71862 invoked from network); 10 Jul 2007 18:11:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2007 18:11:41 -0000 Received: (qmail 18810 invoked by uid 500); 10 Jul 2007 18:11:44 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 18793 invoked by uid 500); 10 Jul 2007 18:11:43 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 18782 invoked by uid 99); 10 Jul 2007 18:11:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 11:11:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 11:11:40 -0700 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 35CEE5A24F for ; Tue, 10 Jul 2007 18:11:20 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: java-commits@lucene.apache.org Date: Tue, 10 Jul 2007 18:11:20 -0000 Message-ID: <20070710181120.5248.61351@eos.apache.org> Subject: [Lucene-java Wiki] Update of "LuceneFAQ" by HossMan X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification. The following page has been changed by HossMan: http://wiki.apache.org/lucene-java/LuceneFAQ ------------------------------------------------------------------------------ The upgrade path for Lucene 2.0 was designed around the notion of clear deprecation warnings. Any code designed to use the APIs in Lucene 1.4.x should compile/function with Lucene 1.9 -- however many compile time deprecation warnings will be generated identifying methods that should no longer be used, and what new methods should be used instead. - If you have code that worked with Lucene 1.4.x, and you want to "port" it to Lucene 2.x you should start by downloading the [http://www.apache.org/dyn/closer.cgi/lucene/java/archive 1.9 release of Lucene], and compile the code against it. Make sure deprecation warnings are turned on in your development environment, and gradually change your code until all deprecation warnings go away (the DateField class is an exception, it has not been removed in Lucene 2.0 yet). + If you have code that worked with Lucene 1.4.x, and you want to "port" it to Lucene 2.x you should start by downloading the [http://www.apache.org/dyn/closer.cgi/lucene/java/archive 1.9 release of Lucene], and compile the code against it. Make sure deprecation warnings are turned on in your development environment, and gradually change your code until all deprecation warnings go away (the !DateField class is an exception, it has not been removed in Lucene 2.0 yet). At that point, your code should work fine with Lucene 2.x. + + If you are looking at example code (in an article or book perhaps) and just need to understand how the example would change to work with 2.0 (without needing to actually compile it) you can review the [http://lucene.apache.org/java/1_9_1/api/ javadocs for Lucene 1.9] and lookup any methods used in the examples that are no longer part of Lucene. The 1.9 javadocs will have a clear deprecation message explaining how to get the same effect using the 2.x methods. === Searching ===