Use ElasticPress’ related posts feature with Elasticsearch 6

A while back I updated to Elasticsearch 6, and with that, the related posts feature of ElasticPress stopped working. First I thought it has to do with an ElasticPress issue, but the reason was a parameter used by ElasticPress that is not supported by Elasticsearch 6 that needs to be modified.

Continue reading "Use ElasticPress’ related posts feature with Elasticsearch 6"

WordPress weekly recap #24: Blocking plugin installs when requirements are not met and more

The PHP team finished work on design and wording of the notice that a plugin cannot be installed because the WordPress and/or PHP version is too low. Now they are working on committing it to the core.

Continue reading "WordPress weekly recap #24: Blocking plugin installs when requirements are not met and more"

WordPress weekly recap #22: no auto updates for 4.9.6 and more

Because of the larger amount of new code in 4.9.6, the team decided to disable the automatic updates for a day to wait for incoming issues. There were some issues with plugins that use the wrong hook for the new privacy features that caused a white screen, so the team kept the feature disabled.

Continue reading "WordPress weekly recap #22: no auto updates for 4.9.6 and more"

Better WordPress performance through the use of Elasticsearch

Recently I needed to improve the performance of a WooCommerce installation with multiple 10,000 products. On regular WordPress pages, performance was already good – the performance issues occurred on product archive pages. The post »What does it take to scale WooCommerce?« by Chris Lema contained the tip to use Elasticsearch, that can be integrated via ElasticPress that also supports WooCommerce. After that, WordPress uses Elasticsearch instead of the MySQL database for querying content.

Read and tested, and the result: a significant improvement of load time, now below one second ⚡

So if you are having issues with load speed on larger installations, where the database seems to be the bottleneck, try using Elasticsearch 🙂