How to remove specific element from array

I have a document with field, which is array of many objects (id and name). How can I delete one of these objects? I am using javascript api and ES 5.5. I know I can just update the whole document, but the array is really big, is there any more optimal way?

Thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.