Skip to content

Gavin webstuff solr9#140

Open
gavin-webstuff wants to merge 13 commits into
Annertech:mainfrom
gavin-webstuff:gavin-webstuff-solr9
Open

Gavin webstuff solr9#140
gavin-webstuff wants to merge 13 commits into
Annertech:mainfrom
gavin-webstuff:gavin-webstuff-solr9

Conversation

@gavin-webstuff

Copy link
Copy Markdown
Contributor

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

$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';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants