Warning: Undefined array key 1 in /DISK2/WWW/lipensky.cz/tomas/inc/auth.php on line 78 db:elasticsearch [Tomas Lipensky - vedomostni koutek] Warning: Undefined array key "stylesheets" in /DISK2/WWW/lipensky.cz/tomas/inc/StyleUtils.php on line 102

This is an old revision of the document!


curl -s -u UZIVATEL:HESLO “https://HOSTNAME/_cluster/settings?include_defaults=true&flat_settings=true … vypíše konfiguraci
curl -s -u UZIVATEL:HESLO “https://HOSTNAME/_alias … vylistuje indexy a jejich aliasy

curl -s -u UZIVATEL:HESLO -X PUT -H 'Content-Type: application/json' -d '{ “index”: { “blocks.read_only” : true } }' “https://HOSTNAME/INDEX/_settings” … nastaví index na read-only