After you set up your Drupal site to utilize a SearchStax-hosted Solr server, ensure that the Solr server and associated index are correctly connected and operational. Follow these steps to verify the connection:
Verify Solr Server Connection¶
- Navigate to Search API Configuration:
- In the Drupal admin menu, select Configuration.
- Under the Search and metadata section, click Search API.
- Access the SearchStax Server Settings:
- On the Search API page, locate the list of configured servers.
- Click on the name of the SearchStax search server you previously set up.
Check the Server URL and Connection Status:
- On the server details page, find the Solr server URL field.
Expected: The URL should include searchstax.com, which indicates that it is pointing to your SearchStax instance. - Review the Server connection status.
Expected: You should see a message stating "The Solr server could be reached." If this message appears, your Drupal site is communicating successfully with the SearchStax Solr server. - If the message does not appear, review your server configuration, credentials, and network connectivity.
Verify Solr Index Status¶
- Return to Search API Configuration:
- If not already present, navigate to Configuration > Search and metadata > Search API.
- Access the SearchStax Index:
- On the Search API page, locate and click on the name of the SearchStax-powered index you created.
Check Index Status and Item Count:
- On the index details page, find the Server index status section.
Expected: The status should provide a message such as "There are x items indexed on the server for this index." Here, x represents the number of content items successfully indexed.
This process confirms that content from your Drupal site is sent to and stored in the SearchStax Solr index.