Better syncing and WP_Query support
Changelog:
- Add better documentation surrounding
WP_Queryparameters (props @tlovett1) - Add option to allow for using
match_all(props @colegeissinger for suggestion) - Prevented filtering
WP_Queryin admin (props @cmmarslender) - Added better tests for some
WP_Queryparameters (props @tlovett1) - Updated tests to better conform to WordPress repo 5.2 compatibility (props @tlovett1)
- Made running re-indexing commands simpler and easier by adding support for a new
--setupflag on theindexcommand - Disable search integration during syncing
- Allow for manual control over search integration
- Add support for passing an array of sites to search against (props @tlovett1)
- Fix bug that would cause a post to stay in the index when a post was unpublished
- Fix bug that would cause site to be improperly switched after a
wp_reset_postdatawhile not in the loop - Fix bug that would cause EP to individually sync each post during an import - disabled syncing during import - requires a full re-index after import
- Add additional filter for controlling whether or not ElasticPress is enabled during a
wp_queryrequest - Add filter to allow adjusting which fields are searched (
ep_search_fields)