Releases: 10up/ElasticPress
Releases · 10up/ElasticPress
Version 1.2
- Allow number of shards and replicas to be configurable.
- Improved searching algorithm. Favor exact matches over fuzzy matches.
- Query stack implementation to allow for query nesting.
- Filter and disable query integration on a per query basis.
- Support
orderby
parameter inWP_Query
- (Bug) We don't want to add the like_text query unless we have a non empty search string. This mimcs the behavior of MySQL or WP which will return everything if s is empty.
- (Bug) Change delete action to action_delete_post instead of action_trash_post
- (Bug) Remove
_boost
from mapping. _boost is deprecated by Elasticsearch. - Improve unit testing for query ordering.
Version 1.1
- Refactored
is_alive
,is_activated
, andis_activated_and_alive
. We now have functionsis_activated
,elasticsearch_alive
,index_exists
, andis_activated
. This refactoring helped us fix #150. Props @jamesmehorter - Add support for post_title and post_name orderby parameters in
WP_Query
integration. Add support for order parameters. Props @AaronHolbrook
Version 1.0
This marks the first version released to wordpress.org. Here is what we've added:
- Support
search_fields
parameter. Support author, title, excerpt, content, taxonomy, and meta within this parameter. - Move all management functionality to WP-CLI commands
- Remove
ES_Query
and support everything throughWP_Query
- Disable sync during import
- Check for valid blog ids in index names
- Improved bulk error handling
- No need for
ep_last_synced
meta - No need for syncing taxonomy
- Improved unit test coverage
sites
WP_Query
parameter to allow for search only on specific blogs
Better syncing and WP_Query support
Changelog:
- Add better documentation surrounding
WP_Query
parameters (props @tlovett1) - Add option to allow for using
match_all
(props @colegeissinger for suggestion) - Prevented filtering
WP_Query
in admin (props @cmmarslender) - Added better tests for some
WP_Query
parameters (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
--setup
flag on theindex
command - 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_postdata
while 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_query
request - Add filter to allow adjusting which fields are searched (
ep_search_fields
)
Fuzziness & Hooks
Minor adjustments including fuzzy default to .75 and some hooks/filters.
MVP Release
Stripped out cron and UI elements.
Now requires WP-CLI and an EP_HOST constant for the connection URL to your Elasticsearch application.