Docker Solr can't load the core I have transferred from other solr

Viewed 1135

These are the problems. SolrUI

Docker

The image from docker were transferred from other solr. They were transferred while the container solr was running. I can't restart the container solr because when I do, the files that I transferred will be deleted. How can I load the cores I transferred from other solr on this solr container?

I figured out that I just need to start the container after restarting the solr so that the cores I transferred will not get deleted. But I encountered this problem, please help me.

SolrError

1 Answers

As per my understanding you have already copied the core from one solr to another, but its not loading. So you should run the solr command inside the new solr container as given below.

 solr create_core -c <<core-name>> -d <<path-of-the-core-folder>>

You will get successful message as

Created new core "core-name"

Related