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: 2.7


By default, SearchWP leaves extracted PDF content in tact when you reset your index. This saves quite a bit of time during the reindex because the work of parsing all PDFs has already been done, and it’s only the parsed content that is reindexed (as opposed to both the parsing and the reindexing)

Example: if you would like to have SearchWP remove parsed PDF content when the index is reset, add the following to your theme’s functions.php:

add_filter( 'searchwp_purge_pdf_content', '__return_true' ); // default is false
view raw functions.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