Version 1.5
This version includes 16 enhancements and 3 bug fixes across a total of 16 contributors. Only half of these contributors actually work for 10up! The focus of this version is performance. Most notably, ElasticPress queries now completely bypass MySQL yielding huge benefits. In the past ElasticPress was pulling from Elasticsearch but filling in some blanks with MySQL. ElasticPress queries also support the cache_results
parameter for storing pulled posts in the object cache.
Here is a full list of version changes:
Bug Fixes:
- Prevent direct access to any PHP files. Props joelgarciajr84
- Fixed fields not being loaded from ES. Props stayallive
- Fixed inclusive check in date_query integration. Props EduardMaghakyan
Enhancements:
- Add support for category_name WP_Query parameter. Props ocean90
- Support limiting sites in network wide commands. Props bordoni
- Add support for method to un-integrate WP_Query. Props kingkool68
- Support
cache_results
in WP_Query - Add action prior to starting WP-CLI index command
- Add missing headers to WP-CLI commands. Props chriswiegman
- Improve error reporting in bulk indexing during bad ES requests.
- Fix is_search check notice. Props allenmoore and allan23
- Added a filter to modify request headers. Props tuanmh
- Prevent bulk index from sending useless error emails. Props cmmarslender
- Add
--offset
parameter to cli indexing command. Stayallive - Change the syncing hook to play better with plugins. Props jonathanbardo
- Support like query in post meta. Props tuanmh
- Sanitization fixes for PHPCS. Props mphillips
- Added filter to set default sort order. Props HKandulla
- MySQL DB completely removed from integrated ElasticPress WP Query. Props EduardMaghakyan and crebacz