Part of the Search ecosystem · 124 projects
This module provides Drush commands to speed up Search API indexing by using multiple CPU cores. It leverages a multi-process approach to handle queues simultaneously, significantly improving indexing speed for large sites. This functionality requires Drush and a Unix/Linux environment.
This module provides Drush commands to rapidly index with Search API, using multiple CPU cores. It can be quite useful when you have more than 10,000 nodes in your website.
It uses a multi-process approach by spawning parallel Drush workers that handle queues simultaneously, dramatically increasing indexing speed compared to the standard Search API indexing process.
It relies on Drush and a Unix/Linux-based system.
Configuration
Controlling search_api_fast settings (optional):
Drupal 10/11 (settings.php or admin/config/search/search-api-fast)
$config['search_api_fast.performance']['index_workers'] = 8;
$config['search_api_fast.performance']['worker_batch_size'] = 100;
$config['search_api_fast.performance']['max_batches_worker_respawn'] = 4;
$config['search_api_fast.performance']['drush'] = '/opt/mycooldrush/drush';
Configuration explanation:
- index_workers: Number of simultaneous workers (should not exceed available CPU cores)
- worker_batch_size: Batch size (items to index per batch)
- max_batches_worker_respawn: Number of batches before worker respawns (affects memory management)
- drush: Path to drush script (optional)
Usage
Run this from the webroot to start indexing:
drush sapi-fast [index-name]
You can monitor workers using 'top' or 'ps -ef | grep drush' to see all workers spawn.
To reindex (mark all items for reindexing first):
drush sapi-fast [index-name] reindex
To clear the index and then reindex:
drush sapi-fast [index-name] clear
See the README.md for detailed documentation and advanced usage options.
Ask your assistant about Search API Fast
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
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
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 3.0.0-alpha2 | Pre-release | 11 | PHP >=8.3 | Sep 26, 2026 | |
| 3.0.0-alpha1 | Pre-release | 11 | Jun 2, 2026 | ||
| 3.0.x-dev | Dev | 11 | May 29, 2026 | ||
| 2.3.0 | Stable | 9–11 | Aug 30, 2024 | ||
| 2.x-dev | Dev | 9–11 | Jul 3, 2023 | ||
| 2.2.1 | Stable | 8–10 | May 26, 2023 | ||
| 2.2.0 | Stable | 8–10 | May 26, 2023 |