Thank you very much Erick, It does look like I was staring at the Reference Guide for too long and between the files and APIs and release notes, my mind just played tricks at 1am :-)
Regards, Alex. ---- Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 17 March 2016 at 04:08, Erick Erickson <erickerick...@gmail.com> wrote: > I think you're mixing up schema and config? The > message about not hand-modifying is for > schema.xml (well, managed-schema). To lock > it down you need to modify solrconfig.xml... > > There shouldn't need to be any need to unload, just > reload? > > And I just skipped the e-mail so maybe I'm way off base. > > Best, > Erick > > On Wed, Mar 16, 2016 at 12:14 AM, Alexandre Rafalovitch > <arafa...@gmail.com> wrote: >> So, I am looking at the Solr 5.5 examples with their all-in by-default >> managed schemas. And I am scratching my head on the workflow users are >> expected to follow. >> >> One example is straight from documentation: >> "With the above configuration, you can use the Schema API to modify >> the schema as much as you want, and then later change the value of >> mutable to false if you wish to "lock" the schema in place and prevent >> future changes." >> >> Which sounds great, except right above the definition in the >> solrconfig.xml, it says: >> "Do NOT hand edit the managed schema - external modifications will be >> ignored and overwritten as a result of schema modification REST API >> calls." >> >> And the Config API does not seem to provide any API to switch that >> property (schemaFactory.mutable is not an editable property). >> >> So, how is one supposed to lock the schema after modifying it? In the >> default, non-cloud, example! >> >> So far, the nearest I get is to unload the core (losing >> core.properties), manually modify solrconfig.xml in violation of >> instructions and add the core back. What am I missing? >> >> Regards, >> Alex. >> >> ---- >> Newsletter and resources for Solr beginners and intermediates: >> http://www.solr-start.com/