Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.21 KB

prerequisites.md

File metadata and controls

30 lines (18 loc) · 1.21 KB

Prerequisites

Requirements

  • Elasticsearch
  • Elasticsearch-PHP library

Install Elasticsearch

Please refer to the Elasticsearch documentation to install Elasticsearch.

If you prefer using a package manager such as apt (apt-get) or yum, you can follow the documentation here

Install Elasticsearch-PHP library

  • Create a folder named elasticsearch-php within your drupal sites/all/libraries directory.
  • Move into the sites/all/libraries/elasticsearch-php and Run the following command to install the library:
curl -s http://getcomposer.org/installer | php
php composer.phar require "elasticsearch/elasticsearch"

If you are using ElasticSearch 6, please make sure composer installs the corresponding elasticsearch:~6.0. Similarly, if you are using ElasticSearch 5, make sure to tell composer to install ~5.0.

For more details, visit the Elasticsearch PHP library API.

Next section: Installation and Setup