Thanks for the answer. How does one "reload" a core? Is there an API, or a url 
one can use?


Med venlig hilsen / Best regards

Peter Kirk
E-mail: mailto:p...@alpha-solutions.dk


-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] 
Sent: 5. januar 2010 21:46
To: solr-user@lucene.apache.org
Subject: Re: Reload synonyms

On Tue, Jan 5, 2010 at 2:03 PM, Peter A. Kirk <p...@alpha-solutions.dk> wrote:

>
> Is it possible to reload the synonym list, if for example "synonyms.txt" is
> changed, without having to restart the server? Is the same possible with
> stop-words?
>
>
Yes you can reload a core but there are two catches:

   1. Reloading a core is only possible if you are using an installation
   with solr.xml (i.e. a multi core installation). The current trunk allows
   reloading a single core installation too but this was added after Solr 1.4
   was released.
   2. SynonymFilter and StopwordsFilter must not be used at index-time. If
   they are, you will need to re-index your documents after reloading the core.

-- 
Regards,
Shalin Shekhar Mangar.

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.725 / Virus Database: 270.14.125/2600 - Release Date: 01/05/10 
08:35:00

Reply via email to