OK, that makes sense. Looking forward to that fix, thanks for the reply. Den tir. 19. maj 2020 kl. 17.21 skrev Joel Bernstein <joels...@gmail.com>:
> I believe the issue is that under the covers this feature is using the > "topic" streaming expressions which it was just reported doesn't work with > aliases. This is something that will get fixed, but for the current release > there isn't a workaround for this issue. > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > > On Tue, May 19, 2020 at 8:25 AM Bjarke Buur Mortensen < > morten...@eluence.com> > wrote: > > > 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 > > >