Skip to main content
Drupal is a registered trademark of Dries Buytaert
EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.3 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.2 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.1 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.0 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.5 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.4 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.3 has reached end of life and no longer receives security updates. Release: Raven: Sentry Integration 7.5.2 Minor update available for module raven (7.5.2). Usage Milestone: jQuery UI Datepicker Module jquery_ui_datepicker crossed 1,000 active installs.

Search API Fast

261 sites Security covered
View on drupal.org

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.

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.

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
3.0.0-alpha1 Pre-release 11 Jun 2, 2026
3.0.x-dev Dev 11 May 29, 2026