Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 1.0


If you notice that posts are failing to index it may be due to your memory limits being breached (your server is running out of memory when SearchWP is trying to index a post). SearchWP automatically ‘chunks’ large entries into more manageable groups of terms, but you can reduce that number with this filter to reduce the memory footprint of SearchWP’s indexer.

Note: If you set this value too high you may trigger PHP memory issues

Example: To decrease the number of terms SearchWP indexes during each pass, add the following to your active theme’s functions.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' );
view raw gistfile1.php hosted with ❤ by GitHub
Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP