Merge pull request #2555 from jeremynikolic/master

Add ElasticSearch plugin command alternative
This commit is contained in:
Shao Yu-Lung (Allen) 2020-04-15 10:30:09 +08:00 committed by GitHub
commit 9a32cd2379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1209,6 +1209,12 @@ docker-compose up -d elasticsearch
```bash
docker-compose exec elasticsearch /usr/share/elasticsearch/bin/plugin install {plugin-name}
```
For ElasticSearch 5.0 and above, the previous "plugin" command as been renamed to "elasticsearch-plguin".
Use the following instead:
```bash
docker-compose exec elasticsearch /usr/share/elasticsearch/bin/elasticsearch-plugin install {plugin-name}
```
2 - Restart elasticsearch container