RE: Solr plugin component resource cleanup?

2012-01-11 Thread karl.wright
[hossman_luc...@fucit.org] Sent: Tuesday, January 03, 2012 12:55 PM To: dev@lucene.apache.org Subject: RE: Solr plugin component resource cleanup? : This works fine for a SearchComponent, but if I try this for a QParserPlugin I get the following: : : [junit] org.apache.solr.common.SolrException

Re: Solr plugin component resource cleanup?

2012-01-11 Thread Erik Hatcher
:55 PM To: dev@lucene.apache.org Subject: RE: Solr plugin component resource cleanup? : This works fine for a SearchComponent, but if I try this for a QParserPlugin I get the following: : : [junit] org.apache.solr.common.SolrException: Invalid 'Aware' : object

RE: Solr plugin component resource cleanup?

2012-01-11 Thread karl.wright
, 2012 3:53 AM To: dev@lucene.apache.org Subject: Re: Solr plugin component resource cleanup? Karl - you can get the core from SolrQueryRequest#getCore(), with SolrQueryRequest being passed into QParserPlugin#createParser. Erik On Jan 11, 2012, at 01:29 , karl.wri...@nokia.com karl.wri

RE: Solr plugin component resource cleanup?

2012-01-08 Thread karl.wright
@lucene.apache.org Subject: RE: Solr plugin component resource cleanup? This works fine for a SearchComponent, but if I try this for a QParserPlugin I get the following: [junit] org.apache.solr.common.SolrException: Invalid 'Aware' object: org.apache.solr.mcf.ManifoldCFQParserPlugin@18941f7

RE: Solr plugin component resource cleanup?

2012-01-03 Thread Chris Hostetter
: This works fine for a SearchComponent, but if I try this for a QParserPlugin I get the following: : : [junit] org.apache.solr.common.SolrException: Invalid 'Aware' : object: org.apache.solr.mcf.ManifoldCFQParserPlugin@18941f7 -- : org.apache.solr.util.plugin.SolrCoreAware must be an

RE: Solr plugin component resource cleanup?

2012-01-02 Thread karl.wright
From: ext Chris Hostetter [hossman_luc...@fucit.org] Sent: Tuesday, December 27, 2011 7:19 PM To: dev@lucene.apache.org Subject: Re: Solr plugin component resource cleanup? take a look at the CloseHook API and SolrCore.addCloseHook

Re: Solr plugin component resource cleanup?

2011-12-27 Thread Chris Hostetter
take a look at the CloseHook API and SolrCore.addCloseHook(...) : Is there a preferred time/manner for a Solr component (e.g. a : SearchComponent) to clean up resources that have been allocated during : the time of its existence, other than via a finalizer? There seems to : be nothing for