Elasticsearch - Index Management
What will happen if you run this reindex request?
{ "source": { "index": "index1" }, "dest": { "index": "index2" }, "script": { "source": "ctx._source['status'] = 'archived'" } }What will happen if you run this reindex request?
{ "source": { "index": "index1" }, "dest": { "index": "index2" }, "script": { "source": "ctx._source['status'] = 'archived'" } }script modifies each document during reindexing by setting the status field.status field updated to 'archived'.index1 to index2 with status field set to 'archived' -> Option C15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions