Skip to content

Instantly share code, notes, and snippets.

@searchwpgists
Last active April 11, 2022 13:17
Increase SearchWP's indexer batch size
<?php
// Increase SearchWP's indexer batch size (default is 25).
add_filter( 'searchwp\indexer\batch_size', function( $size ) {
return 50;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment