Re: Solr reload trigger when a configuration file is changed

2014-01-22 Thread Mark Miller
Yonik has brought up this feature a few times as well. I’ve always felt about the same as Shawn. I’m fine with it being optional, default to off. A cluster reload can be a fairly heavy operation. - Mark On Jan 22, 2014, 4:36:19 AM, Mohit Jain wrote: Thanks Shawn. I appreciate you sharing

Re: Solr reload trigger when a configuration file is changed

2014-01-22 Thread Mohit Jain
Thanks Shawn. I appreciate you sharing the philosophy behind Solr's implementation. I absolutely agree with the design principle and the fact that it helps to debug unknown issues. Moreover it definitely gives more control over the software. However there are *small* number of applications that mi

Re: Solr reload trigger when a configuration file is changed

2014-01-18 Thread Erick Erickson
Ah, thanks for tracking this down. It would have been scary to find out that Solr was automagically doing this. Erick On Fri, Jan 17, 2014 at 9:25 AM, Mohit Jain wrote: > Hi Erick, > > Thanks for the response. Even I was surprised to see that behavior. Anyways > I debugged it and found that Solr

Re: Solr reload trigger when a configuration file is changed

2014-01-17 Thread Shawn Heisey
On 1/17/2014 7:25 AM, Mohit Jain wrote: Bingo !! Tomcat was the one which was keeping track of changes in his own config/bin dirs. Once the timestamp of those dirs are changed it issued reload on all wars, resulting reload of solr cores. By the way it will be good to have a similar configurable

Re: Solr reload trigger when a configuration file is changed

2014-01-17 Thread Mohit Jain
Hi Erick, Thanks for the response. Even I was surprised to see that behavior. Anyways I debugged it and found that Solr is not doing anything. The flow was - Generate config locally using templates - Sync configs to remote solr servers using "rsync" <--- I started digging deeper and went thr

Re: Solr reload trigger when a configuration file is changed

2014-01-17 Thread Erick Erickson
I don't think this is the case at all, but of course I could have missed something. That is, if by "automatically reloaded" you mean they're picked up on server restart or explicit core reload (see the admin API). But just changing the files on disk doesn't cause Solr to load the changed configs.

Solr reload trigger when a configuration file is changed

2014-01-17 Thread Mohit Jain
Hi, After upgrading Solr from 3.x to 4.x, I have observed that a solr core gets automatically reloaded if a configuration file is changed. I would like to know further about it - What is the flow of this feature ? - Is there a way to configure the set of files, so that any changes to them would r