Set default host to solr, not localhost

Created on 26 June 2025, about 1 month ago

Problem/Motivation

The default host is localhost in src/SolrConnector/SolrConnectorPluginBase.php even though DDEV works with solr, and solr is also used in the README.

Steps to reproduce

Try to create a new Solr server with the default settings, and fail.

Proposed resolution

Make the default settings work.

Remaining tasks

Set default host to be solr.

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇩🇰Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ressa
  • 🇩🇰Denmark ressa Copenhagen
  • 🇩🇪Germany mkalkbrenner 🇩🇪

    The default of the module should not target a specific development environment. (even if I use ddev)
    I will keep the the default as it is.

    By I will accept a patch that changes it dynamically if a ddev environment is detected.

  • 🇩🇰Denmark ressa Copenhagen

    Thanks for your answer, and after looking into this some more, I agree that it is probably best to stick to localhost as the default. So I am closing my Github PR.

    I created a new Github issue, to check if it can be handled in DDEV, either by switching to use localhost, or adding an automatic override in settings.ddev.php file. Setting to "Postponed", until this is cleared up.

  • 🇩🇰Denmark ressa Copenhagen

    Updating title, since direction and proposed solution has changed.

Production build 0.71.5 2024