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
Cette réponse était-elle pertinente ? 0 Utilisateurs l'ont trouvée utile (1 Votes)