0.4
0.4 is a stable pre-release of SearchPress. It contains bug fixes and many enhancements like UI improvements, typeahead search suggestions, and more. Most importantly, it adds support for Elasticsearch 7.x while maintaining support for earlier versions.
CRITICAL BREAKING CHANGE: Post meta is no longer indexed by default and keys must added to the "allowed" list along with the data types that should be indexed. See the README for more information.
POTENTIAL BREAKING CHANGE: Related to the post meta handling changes, the sp_post_indexable_meta
has been removed.
POTENTIAL BREAKING CHANGE: Elasticsearch deprecated the idea of custom mapping (doc) types in 6.0 and removed them in 7.0. This change in SearchPress was reflected in the mapping, so if you are customizing the mapping in any way, or otherwise interacting with Elasticsearch's API paths directly, be aware that the "doc type" might change for you from post
to _doc
. SearchPress adds SP_API()->get_doc_type()
to facilitate with this change.
- Removes
sp_post_indexable_meta
filter - Removes
sp_post_ignored_postmeta
filter - Adds
sp_post_allowed_meta
filter - Adds support for ES 6.x, 7.x
- Fixes indexing bug with parentless attachments
- Fixes a bug with bulk syncing attachments
- Improves flexibility for custom indexing of posts
- Improves facet lists to exclude current selections
- Adds option in the admin to index content without flushing
- Fixes bug with cached list of post types to sync
- Fixes conflicts with Advanced Post Cache and CLI-based cron runners
- Adds completion suggester API for search-as-you-type functionality
- Fixes bug with SSL cert verification
- Overhaul of phpunit test classes for performance
- General coding standards cleanup
The entire diff can be viewed at 67b9319...1b3b5ae