curl -XPOST 'https://localhost:9200/test/_update_by_query' -H 'Content-Type: application/json' -d '{
"query" : {
"match_all" : {}
},
"script" : "ctx._source.isActive = 'true'"
}'
Created
November 29, 2018 08:04
-
-
Save lastday154/28e31065bc44e4ca0458138bb0254878 to your computer and use it in GitHub Desktop.
update elastic search
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment