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
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,17 @@ This repository allows you to quickly install Apache Solr for Drupal 9 into a [D
7
7
## Installation on Drupal 9
8
8
9
9
1.`ddev get drud/ddev-drupal9-solr && ddev restart`
10
-
2. You may need to install the relevant Drupal requirements: `ddev composer require drush/drush:* drupal/search_api_solr`
11
-
3. Enable the Search API Solr Search Defaults module: `ddev drush en -y search_api_solr_defaults`. (If it can't be enabled due to the "article" content type not existing, you can just create a search_api_solr server manually.)
12
-
4. Edit the enabled search_api server named `default_solr_server` at `admin/config/search/search-api/server/default_solr_server/edit`
13
-
* set "Solr host" to `solr`
14
-
* set "Solr core" name to "dev"
15
-
* Under "Advanced server configuration" set the "solr.install.dir" to `/opt/solr`
16
-
5.`ddev restart`
10
+
1. You may need to install the relevant Drupal requirements: `ddev composer require drush/drush:* drupal/search_api_solr`
11
+
1. Enable the Search API Solr Search Defaults module: `ddev drush en -y search_api_solr_defaults`. (If it can't be enabled due to the "article" content type not existing, you can just create a search_api_solr server manually.)
12
+
1. Edit the enabled search_api server named `default_solr_server` at `admin/config/search/search-api/server/default_solr_server/edit`
13
+
* set "Solr host" to `solr`
14
+
* set "Solr core" name to "dev"
15
+
* Under "Advanced server configuration" set the "solr.install.dir" to `/opt/solr`
16
+
1.`ddev restart`
17
17
18
18
## Explanation
19
19
20
-
This is the classic Drupal solr8 recipe used for a long time by Drupal users and compatible with search_api_solr.
20
+
This is the classic Drupal solr:8 recipe used for a long time by Drupal users and compatible with search_api_solr.
21
21
22
22
* It installs a [`.ddev/docker-compose.solr.yaml`](docker-compose.solr.yaml) using the solr:8 docker image
23
23
* A standard Drupal 9 solr configuration is included in [.ddev/solr/conf](.ddev/solr/conf)
0 commit comments