You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Kay Kay <ka...@gmail.com> on 2008/12/16 22:41:14 UTC

RequestHandler lifecycle in a Multiple SolrCore context

If I have a CustomRequestHandler that inherits from RequestHandlerBase 
implementing SolrCoreAware interface - what is the lifecycle of the 
invocation of method - inform(SolrCore) in a multiple SolrCore context .

Would it be that we have separate instances of RequestHandlers created 
for each SolrCore.

Can somebody add more information about the same.

Re: RequestHandler lifecycle in a Multiple SolrCore context

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Wed, Dec 17, 2008 at 3:11 AM, Kay Kay <ka...@gmail.com> wrote:

> If I have a CustomRequestHandler that inherits from RequestHandlerBase
> implementing SolrCoreAware interface - what is the lifecycle of the
> invocation of method - inform(SolrCore) in a multiple SolrCore context .
>
> Would it be that we have separate instances of RequestHandlers created for
> each SolrCore.
>

Yes. Each core maintains an instance of every request handlers configured
for that core.

-- 
Regards,
Shalin Shekhar Mangar.