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
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,24 +41,24 @@ This add-on integrates Solr for Drupal 9+ into your [DDEV](https://ddev.com/) pr
41
41
* Set "Solr host" to `solr`
42
42
* Set "solr core" to `dev`
43
43
* Under "Advanced server configuration" set the "solr.install.dir" to `/opt/solr`.
44
-
6.`ddev restart`
44
+
6.Restart DDEV: `ddev restart`
45
45
46
46
## Installation on Drupal 7
47
47
48
-
### Ddev / Solr configuration
48
+
### DDEV / Solr configuration
49
49
50
50
1. Install this add-on: `ddev add-on get ddev/ddev-drupal-solr`
51
51
2. Set the version of Solr version 7: Edit the `.ddev/docker-compose.solr.yaml` file. Replace `image: solr:8` with `image: solr:7` on line 34.
52
52
3. Add the schema needed for version 7: Defaults can be found in the Search API Solr in the `search_api_solr/solr-conf/7.x` directory . Copy these files into `.ddev/solr/conf`.
53
-
4. Restart Ddev: `ddev restart`.
53
+
4. Restart DDEV: `ddev restart`.
54
54
5. Confirm Solr is working by visiting `http://<projectname>.ddev.site:8983/solr/`.
55
55
6. If the Ddev drush version is too new for Drupal 7, you may need to symlink `drush` to the `drush8` provided with Ddev. You can do this by adding a `post-start` hook inside your `.ddev/config.yaml` file as follows
@@ -105,13 +105,13 @@ If you get a message about Solr having outdated config files, you need to update
105
105
106
106
1. Click "Get config.zip" on the server page
107
107
2. Unzip the files, and put the config files into `.ddev/solr/conf/`
108
-
3. Restart Ddev: `ddev restart`
108
+
3. Restart DDEV: `ddev restart`
109
109
110
110
### Drupal 7
111
111
112
112
1. Locate the example files in the `search_api_solr/solr-conf/7.x` directory .
113
113
2. Copy these files into `.ddev/solr/conf`.
114
-
4. Restart Ddev: `ddev restart`.
114
+
4. Restart DDEV: `ddev restart`.
115
115
116
116
### Other frameworks
117
117
@@ -204,7 +204,7 @@ If you would like to use more than one Solr core, add a `.ddev/docker-compose.s
204
204
205
205
## Caveats
206
206
207
-
* This recipe won't work with versions of Solr before `solr:8`, and Acquia's hosting [requires Solr 7](https://docs.acquia.com/acquia-cloud-platform/docs/features/acquia-search). You'll want to see the [contributed recipes](https://github.com/ddev/ddev-contrib) for older versions of Solr.
207
+
* This recipe is designed for versions of Solr `solr:8` and beyond. Acquia's hosting [requires Solr 7](https://docs.acquia.com/acquia-cloud-platform/docs/features/acquia-search). You'll want to follow the Drupal 7 instructions above, or see the [contributed recipes](https://github.com/ddev/ddev-contrib) for older versions of Solr.
0 commit comments