Skip to content

Releases: 10up/ElasticPress

Version 1.5

25 Jun 20:54

Choose a tag to compare

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:

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

Version 1.4

18 May 21:38

Choose a tag to compare

Changelog

This version contains a number of bug fixes and small enhancements. The focus of this version is date query support. New date features will not work unless you do a reindex (wp elasticpress index --setup).

Bug Fixes:

  • Duplicate sync post hooks separated. Props superdummy.
  • Don't send empty index error emails. Props cmmarslender.
  • Remove default shard and indices configuration numbers but maintain backwards compatibility. Props zamoose.
  • Fix wrong author ID in post data. Props eduardmaghakyan.

Enhancements:

  • date_query and date parameters now supported in WP_Query. Props joeyblake and eduardmaghakyan.
  • Make all request headers filterable.
  • Add EP API key to all requests as a header if a constant is defined. Props zamoose.
  • Add index exists function; remove indexes on blog deletion/deactivation. Props joeyblake.
  • Refactor wp-cli stats for multisite. Props jaace.
  • Index mappings array moved to separate file. Props mikaelmattsson.
  • Support meta inequality comparisons. Props psorensen.

Version 1.3.1

09 Apr 14:25

Choose a tag to compare

Changelog:

  • Support date in WP_Query orderby.

Version 1.3

03 Feb 17:07

Choose a tag to compare

  • Support meta_query in WP_Query integration
  • Improved documentation. Each WP-CLI command has been documented
  • Add elasticsearch property to global post object to assist in debugging
  • ep_integrate param added to allow for WP_Query integration without search. (Formally called ep_match_all)
  • Filter added for post statuses (defaults to publish). Change the sync mechanism to make sure it takes all post statuses into account. Props jonathanbardo
  • Bug fix: check if failed post exists in indexing. Props elliot-stocks
  • Bug fix: properly check if setup is defined in indexing. Props elliot-stocks
  • Bug fix: add WP_Query integration on init rather than plugins loaded. Props adamsilverstein
  • Bug fix: Properly set global post object post type in loop. Props tott
  • Bug fix: Do not check if index exists on every page load. Refactor so we can revert to MySQL after failed ES ping.
  • Bug fix: Make sure we check is_multisite() if --network-wide is provided. Props ivankruchkoff
  • Bug fix: Abide by the exclude_from_search flag from post type when running search queries. Props ryanboswell
  • Bug fix: Correct mapping of post_status to not_analyzed to allow for filtering of the search query (will require a re-index). Props jonathanbardo

Version 1.2

05 Dec 18:18

Choose a tag to compare

  • 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 in WP_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

27 Oct 23:14

Choose a tag to compare

  • Refactored is_alive, is_activated, and is_activated_and_alive. We now have functions is_activated, elasticsearch_alive, index_exists, and is_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

20 Oct 17:14

Choose a tag to compare

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 through WP_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

26 Sep 14:54

Choose a tag to compare

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 the index 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

05 Sep 15:57

Choose a tag to compare

Fuzziness & Hooks Pre-release
Pre-release

Minor adjustments including fuzzy default to .75 and some hooks/filters.

MVP Release

03 Sep 19:47

Choose a tag to compare

MVP Release Pre-release
Pre-release

Stripped out cron and UI elements.

Now requires WP-CLI and an EP_HOST constant for the connection URL to your Elasticsearch application.