You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Yasufumi Mizoguchi <ya...@gmail.com> on 2018/10/01 03:29:45 UTC

Re: The way to update Managed Resources.

Thank you Erick for replying me.

I make sure to reload my collections after updating configs manually.

Thanks,
Yasufumi

2018年9月28日(金) 1:55 Erick Erickson <er...@gmail.com>:

> You can hand-edit everything in the conf directory whether you're
> using managed resources or not, with one caution:
> You _must not_ use any of the REST APIs _after_ you push manual
> changes but _before_ you reload your collection.
>
> Here's the deal. When Solr starts up, it fetches the configuration
> files. Thereafter, when it gets a REST API call, it
> takes the in-memory version and updates it then writes it back out. So
> if your sequence is:
> manually change someting
> issue a REST API call
>
> then the REST call overwrites your manual changes.
> HTH,
> Erick
> On Wed, Sep 26, 2018 at 10:25 AM Yasufumi Mizoguchi
> <ya...@gmail.com> wrote:
> >
> > Hi,
> >
> > I am trying to use ManagedSynonymGraphFilterFactory and want to add
> > "tokenizerFactory" attribute into Managed
> > Resources(_schema_analysis_synonyms_*.json under conf directory).
> > To do this, is it OK to update json file manually?
> > If should not, is there any way to update ManagedResources except REST
> API?
> >
> > Thanks,
> > Yasufumi
>