Differences
This shows you the differences between two versions of the page.
|
|
db:elasticsearch [2025/09/29 09:46] tomas created |
db:elasticsearch [2025/09/29 09:48] (current) tomas |
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/_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 "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\\ | ''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\\ |
| ''curl -s -u UZIVATEL:HESLO -X POST "https://HOSTNAME/INDEX/_clone/KOPIE"'' ... naklonuje index INDEX do KOPIE\\ |