Hi All,
I have scenario explained below,
We need to delete multiple documents from Elasticsearch based on a given field which contains unique values. So, in this I wanted to use terms query where we can provide multiple unique values for a field. Query as below.
{
"query":{
"terms": {
"ids": [
"220439697",
"212003867"
]
}
}
}
Above query is deleting only first array value. Am I doing anything wrong in the above query.
Please help me on this.
Thanks,
Ram