Glad to hear it. Now, if you want to be really bold (and I haven’t verified it, 
but it _should_ work).

Rather than copy the index, try this:

1> spin up a one-replica empty collection
2> use the REPLICATION API to copy the index from the re-indexed source.
3> ADDREPLICAs as before.

<2> looks something like: 
http://_slave_host:port_/solr/_core_name_/replication?command=fetchindex&masterUrl=http://solr_with_new_index:port/solr/core_name_/replication.

_core_name_ in this case is something like collection1_shard1_replica1, i.e. 
what shows up in the “cores” dropdown.

The replication API is still used by SolrCloud for “full sync” and has been 
around forever, so it’s well-tested. Again, though, I don’t use this regularly 
so no guarantees…..

See: https://lucene.apache.org/solr/guide/7_5/index-replication.html

Best,
Erick

> On Apr 9, 2019, at 12:38 AM, kevinc <kev...@cogapp.com> wrote:
> 
> Thanks so much - your approaches worked a treat!
> 
> Best,
> Kevin.
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to