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
3. Enable the `search_api_solr` module either using the web interface or
26
+
```
27
+
ddev drush en -y search_api_solr
28
+
```
20
29
4. Create a Search API server at `admin/config/search/search-api` -> "Add server"
21
30
5. Create a server with the following settings
22
31
* Set "Server name" to anything you want. Maybe `ddev-solr-server`.
@@ -26,7 +35,6 @@ This repository allows you to quickly install Apache Solr for Drupal 9+ into a [
26
35
* Set "Solr host" to `solr`
27
36
* Set "solr core" to `dev`
28
37
* Under "Advanced server configuration" set the "solr.install.dir" to `/opt/solr`.
29
-
30
38
6.`ddev restart`
31
39
32
40
## Outdated Solr config files
@@ -43,9 +51,9 @@ See [the documentation in the `doc` folder](doc/README.md)
43
51
44
52
## Explanation
45
53
46
-
This is the classic Drupal `solr:8` image recipe used for a long time by Drupal users and compatible with `search_api_solr`.
54
+
This originates from the classic Drupal `solr:8` image recipe used for a long time by Drupal users and compatible with `search_api_solr`.
47
55
48
-
* It installs a [`.ddev/docker-compose.solr.yaml`](docker-compose.solr.yaml) using the solr:8 docker image.
56
+
* It installs a [`.ddev/docker-compose.solr.yaml`](docker-compose.solr.yaml) using the solr:9 docker image.
49
57
* A standard Drupal 9+ Solr configuration is included in [.ddev/solr/conf](solr/conf).
50
58
* A [.ddev/docker-entrypoint-initdb.d/solr-configupdate.sh](solr/docker-entrypoint-initdb.d/solr-configupdate.sh) is included and mounted into the Solr container so that you can change Solr config in `.ddev/solr/conf` with just a `ddev restart`.
0 commit comments