I don't think that should be a problem. Your custom RequestHandler must call "reload". Note that a new instance of your request handler will be created and inform will be called on it once reload happens i.e. you won't be able to keep any state in the request handler across core reloads.
You can also do this at a level above RequestHandler i.e. via a custom CoreAdminHandler. See CoreAdminHandler.handleCustomAction() On Fri, Aug 23, 2013 at 2:57 PM, Bruno René Santos <brunor...@gmail.com> wrote: > Great! What about inside a RequestHandler source code in Java? I want to > create a requestHandler that receives new synonyms, insert them on the > synonyms file and reload the core. > > Regards > Bruno > > > On Fri, Aug 23, 2013 at 9:28 AM, Shalin Shekhar Mangar < > shalinman...@gmail.com> wrote: > >> Yes, you can use the Core RELOAD command: >> >> >> https://cwiki.apache.org/confluence/display/solr/CoreAdminHandler+Parameters+and+Usage#CoreAdminHandlerParametersandUsage-%7B%7BRELOAD%7D%7D >> >> On Fri, Aug 23, 2013 at 1:51 PM, Bruno René Santos <brunor...@gmail.com> >> wrote: >> > Hello, >> > >> > Is it possible to reload the synonyms and stopwords files without >> rebooting >> > solr? >> > >> > Regards >> > Bruno Santos >> > >> > -- >> > Bruno René Santos >> > Lisboa - Portugal >> >> >> >> -- >> Regards, >> Shalin Shekhar Mangar. >> > > > > -- > Bruno René Santos > Lisboa - Portugal -- Regards, Shalin Shekhar Mangar.