Skip to content
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

d.o issue: Add more details on how to set up Solr Cloud on a server in README #14

Open
gitressa opened this issue Jun 27, 2023 · 4 comments

Comments

@gitressa
Copy link
Contributor

It's great to see this taking shape, thanks @mkalkbrenner.

I previously created Add more details on how to set up Solr Cloud on a server in README on drupal.org. Originally it was about adding Solr Cloud docs, but I now see that there actually are some basic documentation, but it could be expanded in my opinion.

It's probably best to focus this repo on DDEV Solr development, and keep deployment to server in the drupal.org README, as it already is for the Classic single core Solr server set up.

@alexbaron
Copy link

i had to change the solr_version in config file to be able to connect to the server : solr_version: '8.11.2'

i run this command :
ddev drush --numShards=1 search-api-solr:upload-configset my_server_local

the error was :
The config-set could not be created because the targeted Solr version is missing. In case of an auto-detection of the version the Solr server mi ght not be running or is not reachable or the API is blocked (check the log files). As a workaround you can manually configure the targeted Solr version in the settings.

so i export the configs
ddev drush cex -y

and change the file config/sync/search_api.my_server_local.yml
by changing: solr_version: '8.11.2'

but now i have this issue :
Solr HTTP error: HTTP request failed, Failed to connect to localhost port 8983: Connection refused

@rfay
Copy link
Member

rfay commented Jan 4, 2024

It's not clear to me whether you solved your problem or not. If you give the full details of what you did it will help, and consider saying what platform you're on, etc. It looks like solr isn't running. Are you using this add-on?

@rfay
Copy link
Member

rfay commented Jan 4, 2024

But I'm quite sure your comment doesn't belong in this issue. Please open a new issue with the exact details of your problem, thanks.

@mkalkbrenner
Copy link
Collaborator

It's probably best to focus this repo on DDEV Solr development, and keep deployment to server in the drupal.org README, as it already is for the Classic single core Solr server set up.

From my experience and the questions in slack and the issue queues, people don't expect to find a ddev-specific documentation on a dupal module's README. So I think it should ideally be documented in both places.

BTW I just opened ddev/ddev-typo3-solr#3
Depending on what we decide there, we might consider to create ddev-drupal-solr as a add-on that depends on ddev-solr. Then we could move the drupal-specific documentation there and also add some drupal-specific examples and tests.

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

No branches or pull requests

4 participants