![]() ![]() 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. Scroll to the “Environment Variables” section of the PHP Info page.Click More Info to identify the PHP version.The platform may take a few minutes to update, especially if you use Pantheon’s Integrated Composer to update your site modules.įor more information, refer to the documentation on Specifying a Solr version Verify pantheon.yml is Configured CorrectlyĪfter you specify the Solr 8 version in the Dev environment of your Drupal 9 site, verify that the environment is configured to use Solr 8. A confirmation message indicating the file has successfully updated is returned in Git.Restart the shell or terminal environment after entering the following command: Mac users can use Homebrew to install Git, Composer, and PHP 7.4, along with their required dependencies. Pantheon requires Composer 2 at a minimum. Prepare the Local EnvironmentĮnsure you review our documentation on Git, Composer, and Terminus, and have them installed and configured on your local machine. You can set up a new Drupal 9 site or visit the Drupal 9 upgrade and migration guide to create a Drupal 9 site. Pantheon Search with Solr 8 can be used on Drupal 9 sites. Refer to the Search API module processors documentation for details. Search API module processors provide a variety of configuration options for your Pantheon Search results, like boosting results based on dates, taxonomy terms, or specific content types, controlling access to content based on permissions, and adding highlighted excerpts to results. Use Solr’s stemming and language identification libraries that allow for the searching of multiple languages using separate fields, the same field (separate Solr cores), or the same field and Solr core.ĭrupal Views integration for building search results pages and custom search forms.įor more information on Solr 8 features, refer to the Drupal Search API Solr documentation.The stored information can be used for queries and can also return child pages in nested form if the relationship is properly stored in the index. Solr has the ability to store information about document relationships in the index.Media/rich content type indexing for attachments such as PDFs and Word documents Pantheon Search with Solr 8 includes multiple built-in features to make scalable, high-performance search more customizable, including the following: Pantheon Search with Solr 8 gives Drupal 9 web teams a high-performance search index integrated with Integrated Composer's one-click updates. Edit this page on GitHub | Report an issue with this doc ![]()
0 Comments
Leave a Reply. |