Created
June 13, 2018 10:00
-
-
Save djptek/5ba6c5b8e54eeb8c321f867dcde11321 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST _reindex | |
{ | |
"source": { | |
"index": "has-type-doc" | |
}, | |
"dest": { | |
"index": "has-type-_doc" | |
}, | |
"script": { | |
"source": "ctx._type = '_doc';", | |
"lang": "painless" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment