Commit 2fd49459 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix update script for record set name

parent 52705fa5
Pipeline #22595 passed with stages
in 5 minutes and 42 seconds
......@@ -23,7 +23,7 @@ class UpdateQueryBuilder {
return UpdateQuery(
recordSetFacetTerm,
recordSet,
"ctx._source['recordSet'][0]['name']['de'] = params.de; ctx._source['recordSet'][0]['name']['fr'] = params.fr; ctx._source['recordSet'][0]['name']['it'] = params.it",
"ctx._source['recordSet']['name']['de'] = params.de; ctx._source['recordSet']['name']['fr'] = params.fr; ctx._source['recordSet']['name']['it'] = params.it",
mapOf(
Pair("de", names.de[0]),
Pair("fr", names.fr[0]),
......
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