Created
May 8, 2020 12:40
-
-
Save k0staa/ab7c18af3b6305748a839a2fa34a6807 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
| curl -XPOST -H 'Content-Type: application/json' 'http://localhost:9202/some_index/_update_by_query' -d '{ | |
| "script" : "ctx._source.remove(\"some_field\")" | |
| }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment