Update helpers.asciidoc (#1310)

This commit is contained in:
KarelVerschraegen
2020-09-28 10:17:50 +02:00
committed by delvedor
parent 772fad09cc
commit 37983cba99

View File

@ -198,7 +198,7 @@ client.helpers.bulk({
datasource: myDatasource,
onDocument (doc) {
// Note that the update operation requires you to return
// an array, where the first element is the actio, while
// an array, where the first element is the action, while
// the second are the document option
return [
{ update: { _index: 'my-index', _id: doc.id } },