For each datasource enabled, select the desired bundles, languages, and options. Give the index a name, and select the datasources that should be indexed.Click Add Index to configure a new search index.The server labeled Pantheon Search should be displayed, and the status should indicate the server has been enabled. Navigate to Configuration > Search & Metadata > Search API within Drupal’s Admin interface. Configure Pantheon Search Add Search Index You might also want to enable the modules from the site’s Extend page located in /admin/modules. $ENV - pm-enable search_api_pantheon search_api_pantheon_admin To install the Search API Pantheon module, switch to your local machine.Ĭlone the Git repository for the desired environment from the Pantheon Site Dashboard.Įnter the following command in the terminal to run composer install: ![]() Guzzle version 6 is standard with Drupal Core 8 or 9. Composer manages which version will be installed. Search API Solr makes search API work with Apache Solr. Search API is Drupal's module for indexing content entities. Solarium is a Solr client library for PHP and is not Drupal-specific. The commands specified in the next section install the following dependencies: DependenciesĬomposer automatically installs dependencies as part of the Search API Pantheon Module drupal/search_api_pantheon:^8. 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. Install and Enable the Search API Pantheon Module If any other value is displayed, your site is still configured to use Solr 3. ![]() If Solr 8 is configured correctly, the PANTHEON_INDEX_PORT value will be 443. The configured Solr environment will have several PANTHEON_INDEX_* variables, one of which will be PANTHEON_INDEX_PORT.
0 Comments
Leave a Reply. |