lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to re-read the config files in Solr, on a commit
Date Tue, 06 Nov 2012 13:02:43 GMT
Not that I know of. This would be extremely expensive in the usual case.
Loading up configs, reconfiguring all the handlers etc. would add a huge
amount of overhead to the commit operation, which is heavy enough as it is.

What's the use-case here? Changing your configs really often and reading
them on commit sounds like a way to make for a very confusing application!

But if you really need to re-read all this info on a running system,
consider the core admin RELOAD command.

Best
Erick


On Mon, Nov 5, 2012 at 8:43 PM, roz dev <rozdev29@gmail.com> wrote:

> Hi All
>
> I am keen to find out if Solr exposes any event listener or other hooks
> which can be used to re-read configuration files.
>
>
> I know that we have firstSearcher event but I am not sure if it causes
> request handlers to reload themselves and read the conf files again.
>
> For example, if I change the synonym file and solr gets a commit, will it
> re-initialize request handlers and re-read the conf files.
>
> Or, are there some events which can be listened to?
>
> Any inputs are welcome.
>
> Thanks
> Saroj
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message