-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to delete the "dev" Solr core created on installation #28
Comments
This is mostly just to document it, so closing. |
Do you think it should be added to docs? Why did you want to delete it? You can also delete the related docker volume, and |
Thanks for sharing extra methods of removing it @rfay. I guess it could be added to the README ... I deleted it because I prefer my development configuration to match production the closest, so I set the Solr core name to that, and deleted Could the Solr core pull its name automagically from the folder name, like the DDEV configuration does? That would be the ideal solution for me. |
I'd rather have you move on to the up-and-coming https://github.com/mkalkbrenner/ddev-solr - would you be willing to go test that one? It will soon be promoted... and with that one you don't have the magic "dev" core setup and such. |
BTW, you could easily have deleted the core using the web UI couldn't you? |
I am not sure how to move the set up to production (like I wrote here: A missing piece in the puzzle ...) so I'll probably stick to this for now. It would be a waste of time to set it up, and not be able to use it. I don' know if it's possible via web UI? |
All you have to do is open the solr UI (port 8983, shown by |
Ah yes, there's an "Unload" button under "Core Admin" at |
I created a PR which adds a line about this to the README. |
Thanks, and please don't forget to check out #28 (comment) |
Thanks and yes, I am following the repo now. I hope deployment to server steps will be added, otherwise it's not that useful IMO. |
Please open an issue in https://github.com/mkalkbrenner/ddev-solr with your request. I don't think people typically deploy local solr stuff to server. |
Sorry if I didn't word it precisely enough. The classic way of installing Solr on a server, creating a core, moving the config in place, etc. is very well documented in the README under Setting up Solr (single core) - the classic way. I can follow these steps and successfully get a single core Solr Classic instance running on a production server. My problem is that I don't know how to similarly set up Solr Cloud on a server. There is an existing issue drupal.org issue Add more details on how to set up Solr Cloud on a server in README which I have updated with links to the new https://github.com/mkalkbrenner/ddev-solr repo as well as updated the Issue Summary, since I now see that there actually are sections about setting up Solr Cloud. But they are very basic, and could use some more detail, for them to be useful. |
Just go to this URL in your browser, replace
<PROJECT>
with your project name:http://<PROJECT>.ddev.site:8983/solr/admin/cores?action=UNLOAD&core=dev&deleteInstanceDir=true
The text was updated successfully, but these errors were encountered: