diff --git a/HowtoElasticsearch.md b/HowtoElasticsearch.md index 19678ea8..3ff8da2e 100644 --- a/HowtoElasticsearch.md +++ b/HowtoElasticsearch.md @@ -662,3 +662,12 @@ for index in ${indices}; do curl --silent --fail --show-error -XDELETE http://127.0.0.1:9200/${index} > /dev/null done ~~~ + + +### Lister les indexs + +Cette commande est pratique pour voir la taille que prennent les index + +~~~ +$ curl -XGET "http://localhost:9200/_cat/shards?v" +~~~