client - nodejs
version - “@opensearch-project/opensearch”: “^2.5.0”,
I have documents i want to update. Upon calling
this.opensearch.update({
{
index: OpensearchConfig.getConfig('index'),
id: id,
body: {
doc: {oid: `newoid`}
},
refresh: true
}
})
This update works for the targeted id however other unrelated documents are updated as well causing errors.
Any reasons for this and how do I resolve this issue?
Your support is greatly appreciated. Thanks