Part of the Search ecosystem · 127 projects
Read-only Solr diagnostics for Search API sites. It shows what this environment's Solr core actually holds, per index, on the status report, in a drush command and on an admin page, so a deploy check can catch an empty or stale core before a search page comes back blank.
The case it was built for: a production-to-development database clone leaves the Search API tracker reading "9,556 of 9,556 indexed" while the development environment's own Solr core is empty. Nothing in Drupal says so.
Features
- Status report rows (
/admin/reports/status): one per Solr-backed index, showing tracked, indexed and in-Solr counts. A warning when Solr is empty while the tracker has items, holds fewer documents than expected, or holds more (stale documents); an error when the server is unreachable. Documents left in the core under anothersearch_api_solrsite hash by an earlier database are counted separately, with the delete-by-query that removes them. - Items the
entity_statusprocessor drops at index time (unpublished content, blocked users) are counted as excluded rather than warned about. drush search-api-solr-health:status: the same table in the terminal, for release checklists and post-clone steps.--format=jsonfor scripts./admin/reports/solr-health: a restricted console. Pick an index, enterq, filter queries, sort, field list, facets anddebugQuery, and see counts, facets, documents and the raw JSON.
It reaches Solr through the Search API server's connector, so it works on any search_api_solr backend, hosted services included, and each environment sees its own core. Only the select handler is called; there is no write path. Rows are capped at 50 per request.
Post-Installation
There are no settings. The status report rows and the drush command work as soon as the module is enabled. Grant Use the Solr health console to the roles that should see the console page.
After a database clone, run drush search-api-solr-health:status, expect the "empty" state, and reindex with drush search-api:reset-tracker and drush search-api:index.
Additional Requirements
Drupal 10 or 11.
AI use
Parts of this module's code, tests and documentation were written with AI coding tools, working from Square360's in-house Drupal instruction set. A maintainer reviewed all of it. It passes Drupal coding standards and its own tests in CI, and it ran on Square360's client sites before its first public release. Report problems in the issue queue as you would for any module. The maintainers answer for every line.
Ask your assistant about Search API Solr Health
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Search ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10–11 | PHP ^8.1 || ^8.2 || ^8.3 || ^8.4 | Dec 2, 2026 |