-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Change to a specific version of Solr? #44
Comments
https://github.com/ddev/ddev-solr/tree/0.2.2 is the last release with Solr 8. A comparison of what has changed since then 0.2.2...main |
Perfect -- thanks for the incredibly quick response! |
Even if the response was fast, I think it is the wrong answer. You don't want a different version of the ddev plugin, but a different Solr version. @aasarava modifiying the docker file is the correct way. But you also have to remove the already existing Solr docker volume for that downgrade. Unfortunately, ddev doesn't support handling different versions. @rfay that's still the case, right? |
Ok, I thought the config for Solr 9 was incompatible with Solr 8.
I have a draft PR for this, and I'll try to finish it before the next release of DDEV: |
Sorry I lost track of this. I think @stasadev had a valid answer by saying to use an old version of the add-on. ddev-solr/docker-compose.solr.yaml Line 5 in 5e4da7d
solr:8 . but going back to an old version is an ugly way to do it.
Probably what needs to be done if this is a common requirement (maybe it is) is to add an ARG to the Dockerfile, and add the args to the |
Some thoughts:
|
Thanks, all. Yes, going back to an older version of the plugin is not ideal, but I appreciated the ability to quickly get Solr 8 up and running locally. Being able to configure the Solr version would be great. The use case is simulating environments for sites hosted on Pantheon and Acquia, both of which use Solr 8.11.3 at the moment. |
How do I change the solr version? It looks like it's loading
solr:9.6
in solr/Dockerfile. Changing that tosolr:8.3.11
and restarting ddev results in a container unavailable error. Thanks!The text was updated successfully, but these errors were encountered: