How to return fields in response in Opensearch typescript update properly
I’m trying to use the following OpenSearch TypeScript update, but I’m encountering issues when trying to reference _source in the response. I receive the error TS2339: Property '_source' does not exist on type 'UpdateByQueryResponse'.