ElasticSearch Powered by ElasticPress.io

Searching and requesting information from the database can be a burdensome load for even the most optimized web server. Offloading search functionality to an external server that’s specializing in handling those searches will help speed up your WordPress site and get the best performance out of your hosting services.

We recommend the ElasticPress plugin along with ElasticPress.io as your search host to offload your website’s search workload. The service also includes many helpful features to improve your search functionality even further, such as spellcheck and geolocation.

If you have a WP Engine eCommerce solution and are using the instant store search feature, we will install the ElasticPress plugin and connect it to ElasticPress.io on your behalf. You may still need to configure certain plugin settings on your own, skip to the section on recommended settings here.


ElasticPress Plugin

  1. Login to your WordPress admin
  2. Click Plugins
  3. Click Add New
  4. Search for elasticpress
  5. Click Install Now
  6. Click Activate

NOTE: If you prefer to install plugins over SFTP, the plugin can be found here.


Find a Search Host and Generate API Credentials

The next step is to obtain a search host to offload the search functionality on. These servers are optimized by their host specifically to handle your website’s intense database queries.

In this article we’re using ElasticPress.io, which includes extra search features, such as search by metadata, spellcheck and fuzzy searching, and multisite support.

  1. Choose a plan that suits your needs and create an account
  2. Click My Account
  3. Select My Subscription
  4. Locate the Credentials for your account
  5. Leave this page open for use in the next step

Connect ElasticPress Plugin to Search Hosting

  1. Open your WordPress admin dashboard (wp-admin)
  2. Click ElasticPress in the menu
  3. Select Settings
  4. Select ElasticPress.io
  5. Copy and paste the following credentials from your ElasticPress.io dashboard
    • ElasticPress.io Host URL
    • Subscription ID
    • Subscription Username
  1. In the ElasticPress.io dashboard, click Change Token to generate a Subscription Token
    • This token cannot be viewed again once you have navigated away from the page, so be sure to copy it down
  2. Click I Understand to confirm that any previous token in use will be invalidated
  3. Copy and paste the token into the ElasticPress plugin settings field called Subscription Token
  4. Click Save Changes

Index Your Content

  1. Open your WordPress admin dashboard
  2. Click ElasticPress
  3. Click Index Your Content

This process may take some time. Once it’s complete, you will be able to view settings to customize your search and view the health of your website’s search index all within the ElasticPress plugin.


Recommended Settings

ElasticPress has a large number of settings and can be highly customized. The team at ElasticPress.io has put together a list of which settings you should enable based on your website’s purpose.

WooCommerce Store

  • Required: Post Search, WooCommerce
  • Optional: Autosuggest, Protected Content, Documents

News Publisher

  • Required: Post Search
  • Optional: Autosuggest, Documents

Archival Site or Intranet

  • Required: Post Search, Documents
  • Optional: Autosuggest, Protected Content

For more information on these recommendations and about ElasticSearch settings check out the full guide here.


NEXT STEP: Check out more tips to optimize your site

Code-level performance analytics

Application Performance provides real-time, code-level visibility to help you troubleshoot faster, optimize WordPress experiences, and increase development agility.