On 6/8/2022 5:06 PM, Shamik Bandopadhyay wrote:
"msg": "Not supported in SolrCloud",
Using the CoreAdmin API when running in cloud mode is a REALLY bad
idea. The CoreAdmin API cannot touch information in zookeeper. With
part of the information for a SolrCloud collection being in zookeeper
and part of it on the disk in the core.properties files, it causes
serious problems to try and use that API in cloud mode.
Don't do it. Use the Collections API to make modifications to your indexes.
Looks like we made it explicitly not supported at some point in 8.x, and
I can tell you that is a decision that will NOT be reversed. We've seen
too many people break a working SolrCloud install completely by using
the CoreAdmin API to make changes.
If you are absolutely certain that the change you are wanting to make
will not break the collection (and I am pretty sure that renaming a core
would break something) then you can manually modify the core.properties
file and restart Solr. You might also need to update the collection
information in zookeeper, which is why CoreAdmin has been disabled in
cloud mode.
Thanks,
Shawn