Troubleshooting

Got errors? We’ve got answers!

How to fix the “You have reached the limit of indices of your plan and it was not possible to create a new index.” error

Depending on your ElasticPress.io plan and the number of websites and features you are trying to connect with our servers, you may get the “You have reached the limit of indices of your plan and…

Troubleshooting Guide: ElasticPress ‘Something Went Wrong’ Error

If you’ve encountered the “Something went wrong” error while syncing the content stored on your website with the Elasticsearch server using the ElasticPress plugin, this guide is for you. This message originates from WordPress and…

How to fix the “Allowed memory size of ??? bytes exhausted (tried to allocate ??? bytes)” error

While utilizing ElasticPress for your WordPress website to leverage Elasticsearch capabilities, it is common to encounter certain challenges. We will be exploring two prominent issues regarding memory limits that are likely to arise during the…

Using EP Constants in wp-config.php

For developers and multisite administrators using WordPress, the use of constants in the wp-config.php file is essential for several reasons. These constants function as configuration variables, enabling different instances of the WordPress setup to be…

Excluding Post Types from being Indexed

There could be a couple of reasons why you may want to exclude certain post types entirely from being indexed by ElasticPress and some of the most important ones are below. The snippet below allows…

Enhancing ElasticPress with Custom Functions

Sometimes, you will need to extend or enhance ElasticPress’s default functionality to meet specific use cases. Changing the default order of search results or filtering search query parameters are good examples. You do not want…

ElasticPress Status Reports

What is a Status Report? The Status Report page is essential for debugging issues and understanding the health status of your website’s search. Various factors can affect the performance of your ElasticPress-enabled site, and this…

YITH WooCommerce Ajax Product Filter Compatibility

The YITH Woocommerce Ajax Product Filter is a popular plugin that allows you to filter your WooCommerce products using a widget powered by Ajax. While it is a useful plugin, it makes many WP_Query calls…

How to search for words with special characters

If you’re using a language that includes accents or other diacritical marks, you may find that search results are different for the accented search term vs the unaccented one. In order to return the same…

How to search using rendered content (shortcodes and reusable blocks)

By default, ElasticPress will index and use in its searches the post_content value as it is stored in the database. In some cases, it is preferable to use the final version of post_content, with its…