You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This add-on integrates Solr for Drupal 9+ into your [DDEV](https://ddev.com/) pr
34
34
* Under "Advanced server configuration" set the "solr.install.dir" to `/opt/solr`.
35
35
6.`ddev restart`
36
36
37
-
## Outdated Solr config files
37
+
###Outdated Solr config files
38
38
39
39
If you get a message about Solr having outdated config files, you need to update the included Solr config files.
40
40
@@ -46,6 +46,15 @@ If you get a message about Solr having outdated config files, you need to update
46
46
47
47
See [the documentation in the `doc` folder](doc/README.md)
48
48
49
+
## Usage
50
+
51
+
| Command | Description |
52
+
| ------- | ----------- |
53
+
|`ddev launch :8943`| Open Solr Admin (HTTPS) in your browser (`https://<project>.ddev.site:8943`) |
54
+
|`ddev launch :8983`| Open Solr Admin (HTTP) in your browser (`http://<project>.ddev.site:8983`) |
55
+
|`ddev describe`| View service status and used ports for Solr |
56
+
|`ddev logs -s solr`| Check Solr logs |
57
+
49
58
## Explanation
50
59
51
60
This is the classic Drupal `solr:8` image recipe used for a long time by Drupal users and compatible with `search_api_solr`.
@@ -56,9 +65,9 @@ This is the classic Drupal `solr:8` image recipe used for a long time by Drupal
56
65
57
66
## Interacting with Apache Solr
58
67
59
-
* The Solr admin interface will be accessible at: `http://<projectname>.ddev.site:8983/solr/` For example, if the project is named `myproject` the hostname will be: `http://myproject.ddev.site:8983/solr/`.
68
+
* The Solr Admin interface will be accessible at: `https://<projectname>.ddev.site:8943/solr/` and `http://<projectname>.ddev.site:8983/solr/`. For example, if the project is named `myproject` the hostname will be: `https://myproject.ddev.site:8943/solr/`.
60
69
* To access the Solr container from inside the web container use: `http://solr:8983/solr/`
61
-
* A Solr core is automatically created by default with the name "dev"; it can be accessed (from inside the web container) at the URL: `http://solr:8983/solr/dev` or from the host at `http://<projectname>.ddev.site:8983/solr/#/~cores/dev`. You can obviously create other cores to meet your needs.
70
+
* A Solr core is automatically created by default with the name "dev"; it can be accessed (from inside the web container) at the URL: `http://solr:8983/solr/dev` or from the host at `https://<projectname>.ddev.site:8943/solr/#/~cores/dev`. You can obviously create other cores to meet your needs.
62
71
63
72
## Alternate Core Name
64
73
@@ -74,7 +83,7 @@ services:
74
83
1. Change `SOLR_CORENAME` environment variable in the `environment:` section.
75
84
2. Change your Drupal configuration to use the new core.
76
85
77
-
You can delete the "dev" core from `http://<projectname>.ddev.site:8983/solr/#/~cores/dev` by clicking "Unload".
86
+
You can delete the "dev" core from `https://<projectname>.ddev.site:8943/solr/#/~cores/dev` by clicking "Unload".
0 commit comments