[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
: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
, 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
@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
: 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
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
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