Module Description
Provides drush commands to index fast with search API (using all your CPU cores). It's an effective multi-process approach by spawning new drush commands that handle queues.

If you have a 10k+ node-set, this is highly useful.

Relies on drush and unix/linux-based systems.

Controlling search_api_fast examples: Drupal 8 (settings.php)

$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'; Drupal 7 (settings.php)

$conf['search_api_fast_index_workers'] = 8; $conf['search_api_fast_worker_batch_size'] = 100; $conf['search_api_fast_max_batches_worker_respawn'] = 4; Indexing Run this from the webroot to start indexing: - drush sapi-fast [index-name] You could use 'top' or 'ps -ef | grep drush' to see all workers spawn.

To reindex: - drush sapi-fast [index-name] reindex

To clear the index and then reindex: - drush sapi-fast [index-name] clear

See README.txt for further instructions.

Keywords: search_api multithreading search fast drush large index

Project Usage
63
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of slow indexing with search API by utilizing multiple CPU cores and spawning new drush commands to handle queues efficiently.
Data Name
search_api_fast

OPENAI CHATBOT

OPENAI CHATBOT

11:31:24
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.