Hello. I had tried to use the rename command of the collection API to
rename a solrcloud collection but I think it doesnt't work fine.
I'm using Solr 8.11.2 and when I rename a collection called "test" to
"test-new" with the following command:

http://localhost:8983/solr/admin/collections?action=RENAME&name=test&target=test-new
it looks like it creates an alias called "test" pointing to a collection
"test-new" (which doesn't exists).

If I do the following queries:
    http://localhost:8983/solr/test/select?q=*%3A*
    http://localhost:8983/solr/test-new/select?q=*%3A*

I receive the "HTTP ERROR 404 Not Found" message in both cases.

And if I delete the alias "test" I can query the collection with the
original name again with:
http://localhost:8983/solr/test/select?q=*%3A*

Has anyone had a problem using this command?

Thanks in advance.

Reply via email to