Hi list,

I seem to be unable to get REINDEXCOLLECTION to work on a collection alias
(running Solr 8.2.0). The documentation seems to state that that should be
possible:
https://lucene.apache.org/solr/guide/8_2/collection-management.html#reindexcollection
"name
Source collection name, may be an alias. This parameter is required."

If I run on my alias (qa_supplier_products):
curl "
http://localhost:8983/solr/admin/collections?action=REINDEXCOLLECTION&name=qa_supplier_products&numShards=1&cmd=start
I get an error:
"org.apache.solr.common.SolrException: Unable to copy documents from
qa_supplier_products to .rx_qa_supplier_products_6:
{\"result-set\":{\"docs\":[\n
 {\"DaemonOp\":\"Deamon:.rx_qa_supplier_products_6 started on
.rx_qa_supplier_products_0_shard1_replica_n1\"

If I instead point to the underlying collection, everything works fine. Now
I have an alias pointing to an alias, which works, but ideally I would like
to just have my main alias point to the newly reindexed collection.

Can anybody help me out here?

Thanks,
/Bjarke

Reply via email to