Ubuntu install elasticsearch plugins

While installing Magento 2 you might end up using some elasticsearch plugins. Some of them might be:

Installed plugins in /usr/share/elasticsearch/plugins:
    - analysis-icu
    - analysis-phonetic

You can install plugins into elasticsearch using the following command:

sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install {plugin_name}
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu

IMPORTANT!!!

Don’t forget to restart the elasticsearch service:

sudo systemctl restart elasticsearch