You cannot just move a Solr deploy from one host to another. Your best option is to re-install Solr and then re-index.
Jan > 26. jul. 2021 kl. 16:10 skrev Endika Posadas <endikaposa...@gmail.com>: > > Hi, > > Sorry for the misunderstanding. The URLs didn't change, I changed the > deployment to different hosts. But now in solr I have no way of telling that > what was hostA now it's called hostB. > > thanks > > On 2021/07/26 12:54:43, Shawn Heisey <apa...@elyograg.org> wrote: >> On 7/26/2021 5:19 AM, Endika Posadas wrote: >>> I have a Solr cloud deployment with multiple shards and replicas. After a >>> while, the url where the solr instances are deployed has changed, so every >>> solr node is down >>> >>> I would like to update the url of the solr nodes to the updated one so I >>> can bring the cluster back up. After reading the documentation, I coudn't >>> find an API to do so, is there a way to update the cluster URLs without >>> having to manually update Zookeeper? >> >> This sounds weird. How have the URLs changed? I'm not aware of any >> situation where the URL can change unless someone does something that >> changes the deployment, or something is done outside of Solr. >> >> I have NEVER heard of SolrCloud URLs changing without outside >> influence. There is the work on time based collections, but even that >> should give you a stable URL to access the data. >> >> Thanks, >> Shawn >> >>