我正在使用Solar 4.6並更改了schema.xml
中的內容。爲了更新schema.xml
我的核心我用zkcli
。哪些工作正常,我可以在Solr Admin GUI中看到cloud\tree\config\foobar\schema.xml
下修改的schema.xml
。Solr-Collection或Core不重裝schema.xml
但調用
http://localhost:8983/solr/admin/collections?action=RELOAD&name=foobar
和http://localhost:8983/solr/admin/cores?action=RELOAD&name=foobar
,
老schema.xml
後仍然在覈心名爲foobar的。
這是一個正確的答案,另外,少技術的方式就是簡單地重新啓動你的Tomcat/Jetty服務器 –