Gavin webstuff solr9#140
Conversation
This script installs the ddev/ddev-solr addon, removes old configurations, and updates the Solr configuration to version 9. It also provides instructions for applying changes
| $config['search_api.server.solr']['backend_config']['connector_config']['port'] = '8983'; | ||
| $config['search_api.server.solr']['backend_config']['connector_config']['path'] = '/'; | ||
| $config['search_api.server.solr']['backend_config']['connector_config']['core'] = 'dev'; | ||
| $config['search_api.server.solr']['backend_config']['connector_config']['scheme'] = 'http'; |
There was a problem hiding this comment.
won't this break all projects that update the add-on but haven't updated SOLR yet?
What is our plan of action here? We update everything at the same time?
There was a problem hiding this comment.
Yeah i was thinking we would be updating everything as it should be, but i guess we could still do that and move the solr settings file to its own like the redis, e.g settings.ddev.solr.php and copy it in with the new command solr9-local, as its not a requirement on every project
There was a problem hiding this comment.
I would personally prefer the single file over multiple ones, feels like noise, but it's not a bad idea.
In any case, lets run this against a couple of projects next week, see how it works, and then merge it.
…rtech-ddev into gavin-webstuff-solr9 * 'gavin-webstuff-solr9' of github.com:gavin-webstuff/annertech-ddev: Use behat from root vendor if present Multiple packages in package-checker disable safe-uninstall check until fixed Remove anner-sso module checks from sanity check docs: sync with PR Annertech#147 changes gitlab provider CI fix push Fix docs update in PR CI Attempt to fix CI ci: add per-PR docs-sync workflow docs: add docs/ folder covering commands, hooks, providers, and settings Disable Antibot protection during behat tests Always run 'composer install' in tests/behat to ensure dependencies are up-to-date
Adds 2 commands
install-solr
To install and configure ddev/solr
helper to configure upsun solr
solr9
helper to get solr up and running on local ddev easier