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

remove outdated info and limited availability refs #9166

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 2 additions & 26 deletions source/content/guides/solr-drupal/02-solr-drupal.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ audience: [development]
product: [search]
integration: [--]
tags: [solr, search, modules]
contributors: [carolynshannon, joan-ing]
reviewed: "2022-12-13"
contributors: [carolynshannon, joan-ing, jazzsequence]
reviewed: "2024-08-09"
showtoc: true
permalink: docs/guides/solr-drupal/solr-drupal
editpath: solr-drupal/02-solr-drupal.md
Expand Down Expand Up @@ -71,10 +71,6 @@ Ensure you review our documentation on [Git](/guides/git/git-config), [Composer]

Each Pantheon environment (Dev, Test, Live, and Multidevs) has its own Solr server. Indexing and searching in one environment does not impact any other environment.

## Enable Access to Pantheon Search

As a Limited Availability participant, your will need to manually enable access to Solr 8 for your site, for each environment in which you would like to create an index (Dev, Test, Live, and Multidevs).

### Enable at the Site Level

You must enable Pantheon Search at the site-level and add the Apache Solr Index Server. This can be done by using either the Terminus CLI or through the Site Dashboard.
Expand Down Expand Up @@ -115,26 +111,6 @@ You must configure the `pantheon.yml` for the platform environment after you ena

For more information, refer to the documentation on [Specifying a Solr version](/pantheon-yml#specify-a-solr-version)

#### Verify `pantheon.yml` is Configured Correctly

After you specify the Solr 8 version in the Dev environment of your Drupal site, verify that the environment is configured to use Solr 8. The configured Solr environment will have several `PANTHEON_INDEX_*` variables, one of which will be `PANTHEON_INDEX_PORT`. If Solr 8 is configured correctly, the `PANTHEON_INDEX_PORT` value will be `443`. If any other value is displayed, your site is still configured to use Solr 3.

1. Run the command below:

```bash{promptUser:user}
terminus drush SITE.ENV -- ev "phpinfo();" | grep PANTHEON_INDEX_PORT
```

1. Confirm that the `PANTHEON_INDEX_PORT` value is `443`. The output from the command above should look similar to the example below.

```bash{promptUser:user}
terminus drush solr8-sandbox.dev -- ev "phpinfo();" | grep PANTHEON_INDEX_PORT
[warning] This environment is in read-only Git mode. If you want to make changes to the codebase of this site (e.g. updating modules or plugins), you will need to toggle into read/write SFTP mode first.
PANTHEON_INDEX_PORT => 443
$_SERVER['PANTHEON_INDEX_PORT'] => 443
$_ENV['PANTHEON_INDEX_PORT'] => 443
```

## Install and Enable the Search API Pantheon Module

To install and enable the Search API Pantheon Module, access to Solr 8 must be enabled and `pantheon.yml` should be configured to use the Solr 8 version as described in the steps above.
Expand Down
Loading