I have created a new core in solr and once I resta

2019-04-29 12:23发布

问题:

I am using apache solr and I have created another core and its works fine.But once i shutdown my server and restart it,the new core gets deleted. But the folder seems to be there in the solr dir.Can any one tell me why does it get deleted from my apache solr? Thanks in advance

回答1:

Check for the persistent attribute in the solr.xml <solr persistent="true"> which will persist the changes made through Admin UI and these would be available after restarts as well.

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



标签: solr