At least some Solr plugins are instantiated twice
-------------------------------------------------
Key: SOLR-3027
URL: https://issues.apache.org/jira/browse/SOLR-3027
Project: Solr
Issue Type: Bug
Affects Versions: 4.0
Reporter: Karl Wright
I ran into this trying to research SOLR-3015. For a QParserPlugin, there seems
to be two instances created. The init() method is called for each. The same
is true for a SearchComponent. If the SearchComponent is made SolrCoreAware,
and a CloseHook is added, the close hook is properly called once per instance,
but nevertheless the stated plugin lifecycle as described in the wiki seems to
indicate that there should be only ONE instance.
Note that this is being run inside a test, which is derived from
SolrTestCaseJ4, which could conceivably have something to do with it. I
haven't confirmed whether or not this occurs on 3.x as well as trunk, but it
certainly happens reliably enough on trunk.
--
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]