Migrate Drupal Manually

You can migrate existing Drupal Indexes and Views to the SearchStax Site Search solution without using the Migration module. This page presents the procedure.

  • This will cause downtime on your search page during data reindexing.
  • This will not move your synonyms and stopwords automatically. You will need to go to the Site Search dashboard and upload them manually.
  • This will not create language variations within the Site Search app. You will have to do that manually.

Step 1 – Create a New Server in Drupal for Site Search

  1. Install the prerequisites – Set Up Drupal Module.
  2. Click on the Configuration tab. Look for the Search and Metadata section and click on Search API to configure it.Navigation menu showing search configuration options with Search API link highlighted.
  3. Once there, click Add Server.The Search API configuration page showing an empty index list with
  4. Give your server a name. Make sure the Backend is set to Solr.Server configuration form showing
  5. Configure the Server
    To configure the Server, follow these steps:Configuration form for SearchStax Cloud with Token Auth Solr connector showing endpoint URL, token key field, and query timeout settings.
    • The Solr Connector: SearchStax Cloud with Token Auth
    • The Endpoint: the Update endpoint for your Search App. The Update endpoint can be found in Site Search > App Settings > All APIs > Search & Indexing
    • The Read & Write token key: the Read & Write token for your Search App. The Read & Write Site Search token can be found in Site Search > App Settings > All APIs > Search & Indexing
    • Scroll down and click the Save button.
  6. After pressing Save, your Server details should appear with a status message “The server was successfully saved”.
    • Server Connection status should read “The server could be reached.”
    • Core Connection should read “The Solr core could be accessed” with a latency reading.Configuration status page showing successful Solr server connection with version 8.11.1 and connection latency details.

Step 2 – Move the Index to the New Server

  1. Go to Drupal > Configuration > Search and metadata > Search API
  2. Select the index you want to move, and go to Edit.
  3. Select the new server created in the above step under the “Server” section.Server configuration panel for the Default tracker showing solr9 Token selected, with enabled status for indexing and searching.
  4. Click on Save
  5. That’s it! This will move your index and the views linked to that index over to the newly created SearchStax server in step 1.
  6. Repeat for all required indexes.

Step 3 – Reindex the Data

After moving the required indexes, you can trigger reindexing so all data is indexed in the SearchStax Site Search app.

NOTE: There won’t be any data available for the search page till this step is completed.

Step 4 – Continue with the Setup

  1. At this step, all of your indexes, views, and modules that are linked to the index are going to be moved to the new Server.
Articles in this section