elasticsearch
This is an old revision of the document!
Table of Contents
Elasticsearch Cheat Sheet
update_by_query
POST /index/_update_by_query { "script": "ctx._source.field = 'correct value'", "query": { "term": { "field": "wrong value" } } }
backup
Add backup directory to repository
Register snapshot repository
PUT /_snapshot/backup { "type": "fs", "settings": { "location": "/backup", "compress": "true" } }
elasticsearch.1545839951.txt.gz · Last modified: 2018/12/26 16:59 by baumi