To integrate ElasticSearch into WordPress you will need to use WP-CLI:

  • edit wp-config.php to include the Elasticsearch server location. In the file manager, open wp-config.php and add the following line:

define( 'EP_HOST', 'http://127.0.0.1:9200' );
  • install the ElasticPress plugin    
  • log in to the SSH terminal and run the command below:
wp elasticpress index --setup
Was this answer helpful? 0 Users Found This Useful (1 Votes)