Hi everyone,

I just upgraded from 5.1.0 to 5.2.1 and noticed a behavior change which I
consider a bug.

In my solrconfig.xml, I have the following:

   <!-- <schemaFactory class="ClassicIndexSchemaFactory"/> -->
   <schemaFactory class="ManagedIndexSchemaFactory">
 <bool name="mutable">true</bool>
 <str name="managedSchemaResourceName">my-schema.xml</str>
   </schemaFactory>

In 5.1.0 (and maybe prior ver.?) when I enable managed schema per the
above, the existing schema.xml file is left as-is, a copy of it is created
as schema.xml.bak and a new one is created based on the name I gave it
"my-schema.xml".

With 5.2.1 schema.xml is renamed to schema.xml.bak and my-schema.xml is
created (e.g.: schema.xml is deleted).

Is this an expected behavior or is this a bug?  I see it as a bug because
if I revert the change I made in my solrconfig.xml back to (i.e.: not
managed schema any more):

  <schemaFactory class="ClassicIndexSchemaFactory"/>

Solr will not restart because it cannot find schema.xml

Thanks

Steve

Reply via email to