Opensolr Turbo Indexer - Fast Parallel Solr Indexing for Drupal
Fast parallel Solr indexing for Drupal 9/10/11
Overview
Opensolr Turbo Indexer is a Drupal module that dramatically accelerates Solr indexing by using multiple parallel worker processes. Instead of indexing documents one batch at a time, it spawns multiple workers that index simultaneously, achieving 3-4x faster indexing speeds.
Parallel Processing
Multiple workers index simultaneously for maximum throughput
Dynamic Workers
Maintains exact worker count, respawning as batches complete
Live Progress
Real-time progress bars with ETA and rate display
Background Mode
Runs as daemon by default, survives SSH disconnection
Multi-Instance
Run multiple indexers in parallel on different servers or indexes
Download
Install with composer require drupal/opensolr_turbo_indexer or download and extract to web/modules/custom/opensolr
Quick Start
Get up and running in seconds:
# Start indexing (runs in background by default, 10 workers)
drush ost
# Target a specific server
drush ost --server=my_solr_server
# Custom workers and batch size
drush ost --workers=8 --batch=500
# Run multiple servers in parallel
drush ost --server=production_solr
drush ost --server=staging_solr
# Check progress (all sessions)
drush oss
# Stop all indexers
drush osstop
Available Commands
| Command | Alias | Description |
|---|---|---|
opensolr:turbo |
ost |
Start parallel indexing |
opensolr:stats |
oss |
Show indexing statistics |
opensolr:stop |
osstop |
Stop all workers |
opensolr:reindex |
osri |
Queue all items for reindexing on a server |
opensolr:rebuild |
osrb |
Rebuild trackers for a server |
See the Commands page for detailed documentation.