Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1734710C3F for ; Thu, 13 Jun 2013 12:09:24 +0000 (UTC) Received: (qmail 45561 invoked by uid 500); 13 Jun 2013 12:09:21 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 45225 invoked by uid 500); 13 Jun 2013 12:09:20 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 45196 invoked by uid 99); 13 Jun 2013 12:09:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 12:09:20 +0000 Date: Thu, 13 Jun 2013 12:09:20 +0000 (UTC) From: "Benson Margulies (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-4872) Allow schema analysis object factories to be cleaned up properly when the core shuts down MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682167#comment-13682167 ] Benson Margulies commented on SOLR-4872: ---------------------------------------- I'm working on this. > Allow schema analysis object factories to be cleaned up properly when the core shuts down > ----------------------------------------------------------------------------------------- > > Key: SOLR-4872 > URL: https://issues.apache.org/jira/browse/SOLR-4872 > Project: Solr > Issue Type: Improvement > Affects Versions: 4.3 > Reporter: Benson Margulies > > I have a need, in an TokenizerFactory or TokenFilterFactory, to have a shared cache that is cleaned up when the core is torn down. > There is no 'close' protocol on these things, and Solr rejects analysis components that are SolrCoreAware. > Possible solutions: > # add a close protocol to these factories and make sure it gets called at core shutdown. > # allow these items to be 'core-aware'. > # invent some notion of 'schema-lifecycle-aware'. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org