Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Reduce the term chunk size for SearchWP's indexer during each pass
// only process 200 terms per chunk per pass
function my_searchwp_process_term_limit() {
return 200;
add_filter( 'searchwp_process_term_limit', 'my_searchwp_process_term_limit' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment