I have created a new core in solr and once I restart my tomcat server the core gets deleted.why does the core in solr gets deleted?
solr
Solution
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'.
Problem
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