-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add logic to delete Solr cores as part of instance and bulk delete #40
Comments
We should be very careful implementing this feature because there could be several instances sharing same Solr Cores. My suggestion is to create popup that asks user for confirmation before proceeding with delete command. |
@AlenPelin What if we only bulk deleted the index if the name of the instance was embedded? So an instance called sc82u1 could delete its indexes if they all started with sc82u1 (e.g. sc82u1_sitecore_master_index, etc.) but could not delete an index called This behavior would delete indexes that were created by the plugin, but would not delete indexes that were created by manually enabling the config files. |
I think we can ask for confirmation before deleting each core the same way as SIM asks before deleting SQL database that is stored out of instance's root folder. |
Doesn't checking that the index begins with the instance name solve this problem? At 15 indexes per instance, prompting on each one will become very tedious, especially if you are cleaning up multiple instances. I had >100 cores at one point. |
Agree, it makes sense to aggregate indexes by similar prefix and show popups with batches. |
Currently, Solr cores are left in place if a site is deleted. Functionality can be added to fix this by adding logic to call
The Solr URL is in the Solr root config, and the name of each core can be pulled from the individual index configurations. The DELETE information screen text should also be updated.
The text was updated successfully, but these errors were encountered: