Thanks for reply. We are using Solr cloud mode[used zookeeper]. Generally, when we change in schema or solrconfig then first we do upconfig command and then restart the solr.
We have used classic schema factory. below line in our solrconfig.xml <schemaFactory class="ClassicIndexSchemaFactory"/> Is it not necessary to restart Solr server for ClassicIndexSchemaFactory? Will it work after reload the collection? Regards, VIshal ________________________________ From: Shawn Heisey <apa...@elyograg.org> Sent: Monday, November 22, 2021 10:05 PM To: users@solr.apache.org <users@solr.apache.org> Subject: Re: Schema change without restart Solr 6.1.0 On 11/22/21 2:24 AM, VIshal Patel wrote: > I am using Solr 6.1.0. In production environment I want to do schema change > without restarting Solr. > I have tried with > http://1.1.1.1:7983/solr/admin/cores?action=RELOAD&core=forms but It did not > work. > (https://stackoverflow.com/questions/23782123/how-do-i-change-schema-xml-without-restarting-solr) > > Our directory like this > \server\solr\forms\conf\schema.xml > \server\solr\forms\conf\solrconfig.xml > > Can it possible schema change without Solr restart? Reloading the index SHOULD activate schema changes without a full restart. Is Solr in cloud mode (solr+zookeeper)? If it is, then as Tulsi Das mentioned, you have to change the config in zookeeper, not the one on the disk. The name of your core would suggest that you're NOT in cloud mode, but I cannot be sure about that. Whether you're in cloud mode or not... are you using the classic schema factory in solrconfig.xml? If not, then the name of the active schema file is most likely managed-schema (with no extension) rather than schema.xml. Thanks, Shawn