>>> it should be called only once during hte lifetime of a given plugin,
>>> usually not long after construction -- but it could be called many, many
>>> times in the lifetime of the solr process.

So for a given instance of a handler it will only be called once during the
lifetime of that handler?

Also, when the core is passed in as part of inform() is it guaranteed to be
ready to go? (ie I can start feeding content at this point?)

thanks,

steve




On Fri, Nov 15, 2013 at 12:52 PM, Chris Hostetter
<hossman_luc...@fucit.org>wrote:

>
> : So its something that can happen multiple times during the lifetime of
> : process, but i'm guessing something not occuring very often?
>
> it should be called only once during hte lifetime of a given plugin,
> usually not long after construction -- but it could be called many, many
> times in the lifetime of the solr process.
>
> : Also is there a way to hook the shutdown of the core?
>
> any object (SolrCoreAware or otherwise) can ask the SolrCore to add a
> CloseHook at anytime...
>
>
> https://lucene.apache.org/solr/4_5_1/solr-core/org/apache/solr/core/SolrCore.html#addCloseHook%28org.apache.solr.core.CloseHook%29
>
>
> -Hoss
>

Reply via email to