Hi
If I save down the following example the query is ignored:
{"indices":{"*":{"*":["SEARCH"],"_dls_":"'{\"bool\":{\"filter\":[{\"type\":{\"value\":\"countries\"}}]}}'"}}}
This is how it is stored when I query via sg_admin.
_dls_: "'{\"bool\":{\"filter\":[{\"type\":{\"value\":\"countries\"}}]}}'"
I can also use sg_admin to reload the role so that the start / end quotes and the escaping backslashes are removed. This works:
_dls_: '{"bool" : {"filter": {"type" : { "value" : "countries"}}}}'
but I can't save it down like that via the REST API.
How should I proceed ?
Thanks