Hi , I'm wondering if you could not implement a custom filter which reads the file realtime (you might even keep the create synonym map in memory for a predefined time). This then doesn't need a restart of the container.
Best, Patrick -----Original Message----- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: vrijdag 19 december 2008 7:30 To: solr-user@lucene.apache.org Subject: Re: Change in config file (synonym.txt) requires container restart? Please note that a core reload will also stop Solr from serving any search requests in the time it reloads. On Fri, Dec 19, 2008 at 8:24 AM, Sagar Khetkade <sagar.khetk...@hotmail.com>wrote: > > But i am using CommonsHttpSolrServer for Solr server configuation as > it is accepts the url. So here how can i reload the core. > > -Sagar> Date: Thu, 18 Dec 2008 07:55:02 -0500> From: > -Sagar> markrmil...@gmail.com> > To: solr-user@lucene.apache.org> Subject: Re: Change in config file > (synonym.txt) requires container restart?> > Sagar Khetkade wrote:> > > Hi,> > > > > I am using SolrJ client to connect to the Solr 1.3 server and the > > > whole > POC (doing a feasibility study ) reside in Tomcat web server. If any > change I am making in the synonym.txt file to add the synonym in the > file to make it reflect I have to restart the tomcat server. The > synonym filter factory that I am using are in both in analyzers for > type index and query in schema.xml. Please tell me whether this > approach is good or any other way to make the change reflect while > searching without restarting of tomcat server.> > > > Thanks and > Regards,> > Sagar Khetkade> > > _________________________________________________________________> > > Chose your Life Partner? Join MSN Matrimony FREE> > > http://in.msn.com/matrimony> > > > You can also reload the core.> > - Mark > _________________________________________________________________ > Chose your Life Partner? Join MSN Matrimony FREE > http://in.msn.com/matrimony > -- Regards, Shalin Shekhar Mangar.