Skip to content

Version 1.8

Compare
Choose a tag to compare
@tlovett1 tlovett1 released this 20 Jan 04:18
· 7972 commits to develop since this release

ElasticPress 1.8 adds a number of mapping changes for accomplishing more complex WP_Query functions such as filtering by term id and sorting by any Elasticsearch property. Version 1.8 also speeds up post syncing dramatically through non-blocking queries. Here is a full list of enhancements and bug fixes:

Enhancements:

  • Add a filter around the search fuzziness argument. Props dkotter.
  • Make post indexing a non-blocking query. Props cmmarslender.
  • Log queries for debugging. Makes ElasticPress Debug Bar plugin possible.
  • Make posts_per_page = -1 possible.
  • Support term id and name tax queries.
  • Add raw/sortable to property to term mapping. Props sc0ttkclark
  • Add raw/sortable property to meta mapping. Props sc0ttkclark
  • Add raw/sortable to author display name and login.

Bugs:

  • Fix post deletion. Props lukaspawlik.
  • Properly flush cache with wp_cache_flush. Props jstensved
  • When directly comparing meta values in a meta query, use the raw property instead of value.
  • Support arbitrary document paths in orderby. Props sc0ttkclark.

One of the most exciting additions to version 1.8 is query logging as it enabled us to release a Debug Bar plugin for ElasticPress. The plugin allows you to examine all ElasticPress requests on each page load.

Version 1.8 requires a full re-index.