If you enabled Solr with a managed schema enabled, and you would like to switch to manually editing the schema.xml file schema.xml you must follow these steps:
Rename the managed-schema file to schema.xml
Modify solrconfig.xml to replace the schemaFactory class.
but. Remove any ManagedIndexSchemaFactory definition, if one exists
<!-- An example of Solr implicit default behavior if no schemaFactory is explicitly defined. --> <schemaFactory class="ManagedIndexSchemaFactory"> <bool name="mutable">true</bool> <str name="managedSchemaResourceName">managed-schema</str> </schemaFactory>
b. Add a ClassicIndexSchemaFactory definition as shown below
<schemaFactory class="ClassicIndexSchemaFactory"/>
- Reboot the kernel.
sendon1982
source share