Skip to content Skip to sidebar Skip to footer

Delete Nested Array In Elasticsearch

I have documents containing nested tables in the following format : { 'dataId': 'dataIdentifier', 'versionId': 'versionIdentifier', 'items': [ { 'obj1': 'value1', 'obj2': 'value2',

Solution 1:

With update by query you can't remove "a field", you can replace it, for that, you can update it with others two values ​​you want to mantain or delete the document and index a new with that two values


Post a Comment for "Delete Nested Array In Elasticsearch"