Skip to content

Commit 1517e44

Browse files
authored
[Bug]: Add 'doc_as_upsert' to bulk operation data (#373)
1 parent 6737f81 commit 1517e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SearchIndexAdapter/DefaultSearch/BulkOperationService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function addUpdate(
6767

6868
$this->bulkOperationData[] = [
6969
'doc' => $updateData,
70+
'doc_as_upsert' => true
7071
];
7172
}
7273

0 commit comments

Comments
 (0)