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 server’s resources.1

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.


ElasticPress Plugin

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

NOTE


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

NOTE


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.

eCommerce Store

  • Required: Post Search, WooCommerce® 1
  • 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.


Getting Support

When reaching our for assistance with ElasticPress, there are a few things to keep in mind. If you have purchased your ElasticPress solution third-party, WP Engine Support is limited in how we can assist beyond basic troubleshooting, in many cases it may be best to reach out to the plugin or search host directly.

If you purchased ElasticPress through WP Engine, with an eCommerce Solution or Instant Store Search, please provide us with your ElasticPress Status Report when reaching out:

  1. From the wp-admin of your site
  2. Select ElasticPress from the menu
  3. Open Status Report
  4. Copy the report using the button at the top

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.