You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2013/06/12 13:32:20 UTC

[jira] [Comment Edited] (SOLR-4872) Allow analyzers to be SolrCoreAware

    [ https://issues.apache.org/jira/browse/SOLR-4872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681131#comment-13681131 ] 

Benson Margulies edited comment on SOLR-4872 at 6/12/13 11:31 AM:
------------------------------------------------------------------

Due to LUCENE-2145, Tokenizers can't clean themselves up completely on close, which makes this more urgent.
                
      was (Author: bmargulies):
    Due to LUCENE-4125, Tokenizers can't clean themselves up completely on close, which makes this more urgent.
                  
> Allow analyzers to be SolrCoreAware
> -----------------------------------
>
>                 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 analyzer, to have a shared cache that is cleaned up when the core is torn down. Solr rejects analyzer components that are SolrCoreAware. Is there some really good reason for this? What harm would come from allowing one to register a CloseHook?

--
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