Update Solr Configuration
- Open this folder where Solr is downloaded:
           <solrpath>\Collection Name\conf.
For example, C:\Installations\solr-8.7.0\server\solr\plmdms\conf.
 - Rename the managed-schema file to schema.xml.
 - Remove all ManagedIndexSchemaFactory definitions in the solrconfig.xml file.
 - Add 
<schemaFactory class="ClassicIndexSchemaFactory"/>above the<codecFactory class="solr.SchemaCodecFactory"/>line in the solrconfig.xml file. - Modify the solrconfig.xml file in the <updateRequestProcessorChain> tag by setting update.autoCreateFields to false.
 - Add these lines after the <luceneMatchVersion> tag.
           
<lib dir="C:\Installations\solr-8.7.0\contrib\extraction\lib" regex=".*\.jar" /> <lib dir="C:\Installations\solr-8.7.0\dist\" regex="solr-cell-\d.*\.jar" />C:\Installations\solr-8.7.0\ is the path where Solr is downloaded.
 - Add this code above the line:
           
<!-- A request handler that returns indented JSON by default --> <requestHandler name="/update/extract" startup="lazy" class="solr.extraction.ExtractingRequestHandler" > <lst name="defaults"> <str name="lowernames">true</str> <str name="fmap.content">_text_</str> </lst> </requestHandler> - Reload the core(s).
           Note: This step is required only when the core or collection is initially created.
 - Ensure Solr is started automatically after a reboot. This can be done by creating a startup file.