On 5/10/2017 12:26 PM, Webster Homer wrote:
> Looking at the solrcloud restore API I am confused about the solr
> configuration
<snip>
> It seems to me that the restore should create a new configset in Zookeeper
> from the backed up configset and use the new collection name as the name of
> the config set.

This is what the documentation says:

==
The collection created will be of the same number of shards and replicas
as the original collection, preserving routing information, etc.
Optionally, you can override some parameters documented below. While
restoring, if a configSet with the same name exists in ZooKeeper then
Solr will reuse that, or else it will upload the backed up configSet in
ZooKeeper and use that.
==

Here's what I *HOPE* this means: The configuration name is saved as well
as the actual configuration.  If a configuration with the same name as
the backed up configuration exists in zookeeper already, it will be used
without modification, but if that config doesn't exist, the backed up
configuration will be uploaded to zookeeper with the original config name.

You seem to be assuming that the configuration will have the same name
as the collection, and that's not what I would assume.  I wonder which
of us is right.

You can check the configname being used by the restored collection by
clicking on Cloud, then Tree, opening the "collections" folder, and
clicking on the restored collection.  It will be on the right side,
below the table.

Thanks,
Shawn

Reply via email to