[
https://issues.apache.org/jira/browse/SOLR-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185458#comment-13185458
]
Karl Wright commented on SOLR-3015:
-----------------------------------
The workaround, which Erik Hatcher gave me, uses the SolrCore object from the
request object to set up the close hook. Appropriate synchronizers required,
of course. While it's a shame that the SolrCoreAware interface is not workable
as originally designed, the workaround is fine for my purposes. So I'm going
to close the ticket since clearly the committers believe the system is
functioning as designed.
> QParserPlugins can not be SolrCoreAware
> ---------------------------------------
>
> Key: SOLR-3015
> URL: https://issues.apache.org/jira/browse/SOLR-3015
> Project: Solr
> Issue Type: New Feature
> Reporter: Karl Wright
> Labels: closehook, qparserplugin, solrcoreaware
> Attachments: SOLR-3015.patch
>
>
> QParserPlugin cannot be made SolrCoreAware:
> {code}
> [junit] org.apache.solr.common.SolrException: Invalid 'Aware' object:
> org.apache.solr.mcf.ManifoldCFQParserPlugin@18941f7 --
> org.apache.solr.util.plugin.SolrCoreAware must be an instance of:
> [org.apache.solr.request.SolrRequestHandler]
> [org.apache.solr.response.QueryResponseWriter]
> [org.apache.solr.handler.component.SearchComponent]
> [org.apache.solr.update.processor.UpdateRequestProcessorFactory]
> [org.apache.solr.handler.component.ShardHandlerFactory]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]