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