Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 74758 invoked from network); 1 May 2009 21:21:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 May 2009 21:21:59 -0000 Received: (qmail 81961 invoked by uid 500); 1 May 2009 21:21:58 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 81868 invoked by uid 500); 1 May 2009 21:21:58 -0000 Mailing-List: contact java-dev-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-dev@lucene.apache.org Received: (qmail 81859 invoked by uid 99); 1 May 2009 21:21:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 21:21:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 21:21:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 560F1234C051 for ; Fri, 1 May 2009 14:21:30 -0700 (PDT) Message-ID: <783787543.1241212890351.JavaMail.jira@brutus> Date: Fri, 1 May 2009 14:21:30 -0700 (PDT) From: "Hoss Man (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-1627) SpellChecker has no "close" method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org SpellChecker has no "close" method ---------------------------------- Key: LUCENE-1627 URL: https://issues.apache.org/jira/browse/LUCENE-1627 Project: Lucene - Java Issue Type: Bug Components: contrib/spellchecker Reporter: Hoss Man SpellChecker has no close method ... which means there is no way to force it to close the IndexSearcher it maintains when you are done using the SpellChecker. (a quick skim of IndexSearcher doesn't even suggest there is a finalizer self closing in the event of GC) http://www.nabble.com/SpellChecker-locks-folder-to23171980.html#a23171980 A hackish work around for people who want to force SpellChecker to close an IndexSearcher opened against a directory they care about doing something with... {code}yourSpellChecker.setSpellIndex(new RamDirecotry()){code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org