Available since: 2.8.8
searchwp_purge_document_contentView Parameters »
Because document processing is a resource intensive procedure (and document content is very unlikely to be changed without SearchWP’s delta updating accommodating the edits) SearchWP by default does not remove parsed document content when resetting/purging the index.
If you would instead like SearchWP to completely remove all parsed document content when the index is being purged/reset add the following to your theme’s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|// Remove all parsed document content when SearchWP's index resets|
|add_filter( 'searchwp_purge_document_content', '__return_true' );|
Whether to remove parsed document content