Releases: 10up/ElasticPress
Version 2.5
ElasticPress 2.5 includes a new Facets feature that makes it easy to add high performance content filtering controls to a website.
A new Facets widget enables site administrators to add taxonomy facets to a sidebar (or any widgetized area). When viewing a content list on the front end of the website, the widget will display the name of the taxonomy – e.g. “Categories” – and a checklist with all of its terms. Visitors can narrow down content by selecting terms they are interested in. The Facets feature can be globally configured to narrow results to content that is tagged with any or all of the selected terms. The widget’s front end output contains carefully named CSS classes, so that designers and developers can apply unique styling.
Version 2.5 also includes a number of smaller enhancements and fixes, including official support for Elasticsearch 6.2, and increased functional parity with the WP_Query API.
Here is a detailed list of what's been included in the release:
Enhancements
- Facets feature
--post-ids
CLI option to index only specific posts. Props dotancohen.- Filter for hiding host setting in dashboard. Props tomdxw.
- Support
WP_Query
meta querynot between
comparator.
Bugs
- Disallow duplicated Elasticsearch requests on WooCommerce orders page. Props lukaspawlik
- Fix taxonomy sync object warning. Props eugene-manuilov
true
inis_empty_query
terminates ep_query process when it shouldn't. Props yaronuliel
Version 2.4
Version 2.4 introduces the Autosuggest feature. When enabled, input fields of type "search" or with the CSS class "search-field" or "ep-autosuggest" will be enhanced with autosuggest functionality. As text is entered into the search field, suggested content will appear below it, based on top search results for the text. Suggestions link directly to the content.
We also added hooks and filters to ElasticPress that make query logging possible. The Debug Bar ElasticPress plugin now adds a Query Log screen to the ElasticPress admin menu. The Query Log is an extremely powerful tool for diagnosing search and indexing issues.
Here is a comphrensive list of changes:
Enhancements
- Autosuggest feature
- Hooks for query log functionality in Debug Bar ElasticPress
- Support
WP_Query
fields
parameter. Props kallehauge. - Add setting for enabling/disabling date weighting in search. Props lukaspawlik.
- Remove extra post meta storage key from Elasticsearch
- Add shipping class as indexed WooCommerce taxonomy. Props kallehauge.
- Allow WooCommerce orders to be searched by items. Props kallehauge.
- Support Elasticsearch 5.6
- Add filter to granularly control admin notices. Props mattonomics.
- Support ES 5.5+ strict content type checking. Props sc0ttclark
Bug Fixes
- Fix
author_name
search field. Props ivankristianto. - Fix unavailable taxonomy issue in WooCommerce. Props ivankristianto.
- Index all publicly queryable taxonomies. Props allan23.
- Resolve case insensitive sorting issues. Props allan23.
- Add escaping per VIP standards. Props jasonbahl.
- Fix WooCommerce post type warnings.
Version 2.3
Version 2.3 introduces the Documents feature which indexes text inside of popular file types, and adds those files types to search results. We've also officially added support for Elasticsearch 5.3.
Enhancements
- Documents feature
- Enable multiple feature status messages
- Disable dashboard sync via constant:
define( 'EP_DASHBOARD_SYNC', false );
. Props rveitch. - Add filter for custom WooCommerce taxonomies. Props kallehauge.
- Support WooCommerce
product_type
taxonomy. Props kallehauge.
Bug Fixes
- Fix WP-CLI
--no-bulk
number of posts indexed message. Props ivankristianto. - Honor
ep_integrate
in WooCommerce queries. Props ivankristianto. - Properly check when ES results are empty. Props lukaspawlik
- Incorrect
found_posts
set in query when ES is unavailable. Props lukaspawlik
Version 2.2.1
Version 2.2.1 is a bug fix release. Here are a listed of issues that have been resolved:
- Fix dashboard syncing delayed start issues.
- If plugins endpoint errors, try root endpoint to get the ES version.
- Make sure
orderby
is correct for default WooCommerce sorting. Props ivankristianto. - Remove taxonomy
operator => AND
unneeded execution code. - Stop dashboard sync if an error occurs in the middle. Props ivankristianto.
- Add
EP_INDEX_PREFIX
constant. If set, index names will be prefixed with the constant. Props allan23. - Increase total field limit to 5000 and add filter. Props ssorathia.
- Prevent EP from auto-activating a feature that was force deactivated.
- Prevent massive field Elasticsearch error when indexing large strings.
- Increase max result window size to 1000000 and add filter.
Version 2.2
Version 2.2 rethinks the module process to make ElasticPress a more complete query engine solution. Modules are now auto-on and really just features. Why would anyone want to not use amazing functionality that improves speed and relevancy on their website? Features (previously modules) can of course be overridden and disabled. Features that don't have their minimum requirements met, such as a missing plugin dependency, are auto-disabled.
We've bumped the minimum Elasticsearch version to 1.7 (although we strongly recommend 2+). The maximum tested version of Elasticsearch is version 5.2. If you are running Elasticsearch outside this version range, you will see a warning in the dashboard.
Enhancements
- (Breaking change) Module registration API changed. See
register_module
inclasses/class-ep-modules.php
. - (Breaking change) Related posts are now in a widget instead of automatically being appended to content.
- (Breaking change) Admin module renamed to Protected Content.
- Admin warning if current Elasticsearch version is not between the min/max supported version. Version 2.2 supports versions 1.3 - 5.1.
- Auto-reindex on versions requiring reindex.
- User friendly admin notifications for ElasticPress not set up, first sync needed, and feature auto activation.
- Protected Content feature applies to all features. This means if Protected Content isn't active, search or WooCommerce integration won't happen in the admin.
- Add support for post_mime_type. Props Ritesh-patel
Bug Fixes
- Back compat with old
ep_search
function. - Respect indexable post types in WooCommerce feature
- New product drafts not showing in WooCommerce admin list
- WooCommerce feature breaking image search in media library. Props Ritesh-patel
- WooCommerce order search broken
- Stop the insanity made private. Props sc0ttclark
- Fix multidimensional meta queries. Props Ritesh-patel.
- Properly show bulk index errors in WP-CLI
- Update ep_delete_post, include $post_type argument. Props Ritesh-patel
- Fix post_type product getting set in any WP_Query if tax_query is provided in WooCommerce feature. Props Ritesh-patel
- Adds 'number' param to satisfy WP v4.6+ fixing get_sites call. Props rveitch
- Order by proper relevancy in WooCommerce product search. Props ivankristianto
- Fix recursion fatal error due to oEmbed discovery during syncing. Props ivankristianto
Version 2.1.2
Version 2.1.2 supports Elasticsearch 5.0. We've separated out index mappings for older versions of Elasticsearch to ensure legacy users can still upgrade.
Version 2.1
Version 2.1 marks a huge change in ElasticPress and even what's possible within WordPress. We have transformed the way the plugin works adding a modules system, completely redoing the user interface, adding a number of important WP_Query
functional enhancements, and more.
Previously, ElasticPress was a useful plugin for achieving awesome search. Now, ElasticPress is the fast and flexible search and query engine for WordPress. The plugin includes a number of powerful modules, some previously bundled as separate plugins, to supercharge WordPress performance and search. We are extremely excited to launch ElasticPress 2.1. We see it as a framework to completely transform search, performance, and scalability in WordPress.
Here is a list of new features, bug fixes, and backward compatibility breaks in 2.1:
Enhancements
- Redo UI.
- Make plugin modular.
- Remove unnecessary back up hosts code.
- Bundle existing modules into core plugin.
- Support
meta_key
andmeta_value
. - Order by
meta_value_num
. - Properly support
post_parent = 0
. Props tuanmh. - Add search scope file. Props rveitch.
- Support WP_Query
post_status
. Props sc0ttclark.
Backward compat breaks:
- Move
ep_admin_wp_query_integration
to search integration only. ElasticPress integration by default is available everywhere. - Remove
keep alive
setting. - Remove setting to integrate with search (just activate the module instead).
- Back up hosts code removed.
- Remove active/inactive state. Rather just check if an index is going on our not.
Bug fixes
- Fix
post__in
support. - Fix
paged
overwritingoffset
. - Fix integer and comma separated string
sites
WP_Query processing. Props jaisgit.
As always, ElasticPress is free, open source software. We are proud of the contributions every one has provided to make version 2.1 possible.
Version 2.0
10up ships ElasticPress 2.0 with radical search algorithm improvements and a more comprehensive integration of WP_Query. ElasticPress is now even closer to supporting the complete WP_Query API. This version also improves upon post syncing ensuring that post meta updates are synced to Elasticsearch, adds a number of important hooks, and, of course, fixes some pesky bugs.
Enhancements
- Radical search algorithm improvements for more relevant results (see #508 for details)
- Support meta
BETWEEN
queries. - Improve GUI by disabling index status meta box text and improving instructions. Props ivanlopez
- Support
OR
relation for tax queries. - Sync post to Elasticsearch when meta is added/updated.
- Support all taxonomies as root WP_Query arguments. Props tuanmh
- Add
ID
field to Elasticsearch mapping - Support
post_parent
WP_Query arguments. Props tuanmh - Add filter to disable printing of post index status. Props tuanmh
- Add useful CLI hooks
- Add a filter to bypass permission checking on sync (critical for front end updates)
Bugs
- Consider all remote request 20x responses as successful. Props tuanmh
- Fix plugin localization. Props mustafauysal
- Do query logging by default. Props lukaspawlik
- Fix cannot redeclare class issue. Props tuanmh
- Fix double querying Elasticsearch by ignoring
category_name
whentax_query
is present. - Fix post deletion endpoint URL. Props lukaspawlik
A special thanks goes out to Tuan Minh Huynh and everyone else for contributions to version 2.0.
Version 1.9.1
Quick bug fix version to address the GUI not working properly when plugin is not network enabled within multisite. Props to Ivan Lopez for the fix.
Version 1.9
ElasticPress 1.9 adds in an admin UI, where you can set your Elasticsearch Host and run your index commands, without needing to us WP-CLI. Version 1.9 also adds in some performance improvements to reduce memory consumption during indexing. Full list of enhancements and bug fixes:
Enhancements:
- Add in an Admin GUI to handle indexing. Props ChrisWiegman.
- Add option to not disable ElasticPress while indexing. Props lukaspawlik.
- Allow filtering of which post types we want to search for. Props rossluebe.
- Remove
composer.lock
from the repo. Props ChrisWiegman. - Ensure both PHPUnit and WP-CLI are available in the development environment. Props ChrisWiegman.
- User lower-case for our composer name, so packagist can find us. Props johnpbloch.
- Check
query_vars
, notquery
to determine status. Props ChrisWiegman. - Improve memory usage during indexing and fix unnecessary cache flushes. Props cmmarslender.
- Further reduce memory usage during indexing. Props lukaspawlik.
- Add
post__in
andpost__not_in
documentation. Props mgibbs189. - Add Elasticsearch Shield authentication headers if constant is set. Props rveitch.
Bugs:
- Fix the
--no-bulk
indexing option. Props lukaspawlik. - Fixed an error that occurs if no Elasticsearch host is running. Props petenelson.
- Fixed an exception error. Props dkotter.
- Fixed the WP-CLI status command. Props dkotter.