Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 9, 2018 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/cdeefb42da0c42b560326c81fd105af9 to your computer and use it in GitHub Desktop.
Save jchristopher/cdeefb42da0c42b560326c81fd105af9 to your computer and use it in GitHub Desktop.
Tell SearchWP to ignore engine settings when indexing
<?php
// Tell SearchWP to ignore limiters/exclusions as defined in engine settings when indexing
// Note: this will very likely cause your index to grow in size
add_filter( 'searchwp_indexer_apply_engines_rules', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment