Commit 13a5c632 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add script to unpublish record set.

parent 4177d8b0
"query": {
"term": {
"script": {
"source": "ctx._source.published = 'false'",
"lang": "painless"
curl -X POST -H 'Content-Type: application/json' -d "@unpublish_record_set.json" "localhost:8080/record-sets-v7/_update_by_query"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment