I created a new kernel in solr, and as soon as I restart my tomcat server, the kernel is deleted. Why is the core in solr removed?

I am using apache solr and I created another kernel and its work is great. But as soon as I shut down my server and reboot it, the new kernel is deleted. But the folder seems to be present in the solr directory. Can someone tell me why it is being removed from my apache solr? thanks in advance

+4
source share
1 answer

Check the persistent attribute in the solr.xml <solr persistent="true"> solr <solr persistent="true"> file, which will save the changes made through the admin interface, and they will be available after it is also restarted.

If persistence is enabled (persist = true), the configuration for this new kernel will be saved in 'solr.xml'.

+6
source

Source: https://habr.com/ru/post/1491363/


All Articles