Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

- Install Elasticsearch with Docker (Reference: https://www.elastic.co/guide/en/elasticsearch/reference/7.5/docker.html)
  sudo docker pull docker.elastic.co/elasticsearch/elasticsearch:7.5.2
  # Spin up an Elasticsearch cluster with 3 nodesIncrease max map count:
  sudo sysctl -w vm.max_map_count=262144

# Spin up an Elasticsearch cluster with 3 nodes:

  # Create a file docker-compose.yml with the following contents in your working directory

...

  cd /usr/share/elasticsearch
  # Install plugins one after the other : 
  elasticsearch-plugin install --batch analysis-icu
  elasticsearch-plugin install --batch analysis-kuromoji
  elasticsearch-plugin install --batch analysis-smartcn
  elasticsearch-plugin install --batch analysis-nori
  elasticsearch-plugin install --batch analysis-phonetic

  exit

  # Now do the same thing inside the other two Elasticsearch containers es02  and es03.

...