Information for: DEVELOPERS   PARTNERS

Configuring the Search API attachments module

Important

EOL notice! Acquia Search with Solr 3/4 will reach end-of-life on Tuesday, March 1, 2022. For more information, see Frequently Asked Questions (FAQ) regarding End of Support for Acquia Search with SOLR 3/4.

If you use the Search API attachments module for indexing and searching file attachments, you must configure the module to work with Acquia Search. To configure Search API attachments, complete the following steps, depending on your version of Drupal:

  • Drupal 8

    Note

    You must already have a working Acquia Search configuration for your website.

    1. Install the Search API attachments module, which requires using Composer.
    2. Sign in to your Drupal website as a user with the administrator role, and then enable the module.
    3. In the admin menu, go to Configuration > Search API attachments.
    4. In the Extraction method list, click Solr extractor.
    5. In the Solr server list, click Acquia Search API server (which uses Acquia Search as the back end).
    6. Click Submit and test extraction to test.

    Search Tika extractor configuration screen

  • Drupal 7

    1. Install and enable both the Search API attachments module and its requirements.
    2. Go to the Search API configuration page, and then click the Search API attachments tab.
    3. Scroll to the Solr Extraction Settings section, and in the Solr extracting servlet path field, enter one of the following values based on your Solr version:
      • For Solr 3/4, enter extract/tika.
      • For Solr 7, enter update/extract.