Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 66729 invoked from network); 9 Apr 2008 12:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 12:42:43 -0000 Received: (qmail 72260 invoked by uid 500); 9 Apr 2008 12:42:42 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 72240 invoked by uid 500); 9 Apr 2008 12:42:42 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 72229 invoked by uid 99); 9 Apr 2008 12:42:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 05:42:42 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 12:41:57 +0000 Received: by nf-out-0910.google.com with SMTP id d3so1065410nfc.15 for ; Wed, 09 Apr 2008 05:42:06 -0700 (PDT) Received: by 10.150.92.11 with SMTP id p11mr233380ybb.36.1207744924910; Wed, 09 Apr 2008 05:42:04 -0700 (PDT) Received: from ?10.17.4.4? ( [72.93.214.93]) by mx.google.com with ESMTPS id 11sm165385wrl.7.2008.04.09.05.42.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Apr 2008 05:42:04 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <16585334.post@talk.nabble.com> References: <16579552.post@talk.nabble.com> <16585334.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7050951F-BDA3-4C45-9495-ECC93F6C6FA1@mikemccandless.com> Content-Transfer-Encoding: 7bit From: Michael McCandless Subject: Re: a problem about the deprecated method Date: Wed, 9 Apr 2008 08:42:23 -0400 To: general@lucene.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org Oh by "java-user list", I mean you should send future emails like this to "java-user@lucene.apache.org" instead of "general@lucene.apache.org". Mike oibook13 wrote: > > Thank you very much. > But where can i find the java-user list.I am reading the lucene API > illustration file,there is a Deprecated API list on it,is java-user > list? I > want ro have it because i want to eliminate other Deprecated method. > > > Michael McCandless-2 wrote: >> >> >> Hi, >> >> The java-user list is more appropriate for your question (it's >> focused on using Lucene java, and, more people read it). >> >> In this case, you should use the getDirectory(File) method, and then >> when you instantiate your IndexWriter, pass in the boolean XX as the >> "create" argument. The javadoc stating the deprecation says this. >> >> Mike >> > > -- > View this message in context: http://www.nabble.com/a-problem-about- > the-deprecated-method-tp16579552p16585334.html > Sent from the Lucene - General mailing list archive at Nabble.com. >