Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created September 8, 2014 11:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jchristopher/5dca97665d1842ce6b9b to your computer and use it in GitHub Desktop.
Reduce the term chunk size for SearchWP's indexer during each pass
<?php
// 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