Skip to content

Commit f95ca76

Browse files
romainruaudAurélien FOUCRET
authored andcommitted
Fixing updateDocument() method : missing a "doc" property wrapper around updated fields
1 parent 60f2003 commit f95ca76

File tree

1 file changed

+1
-1
lines changed
  • src/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch

1 file changed

+1
-1
lines changed

src/app/code/community/Smile/ElasticSearch/Model/Resource/Engine/Elasticsearch/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ public function updateDocument($id, array $data = array(), $type = 'product')
638638
}
639639

640640
$headerRow = array('update' => $headerData);
641-
$dataRow = $data;
641+
$dataRow = array('doc' => $data);
642642

643643
$result = array($headerRow, $dataRow);
644644
return $result;

0 commit comments

Comments
 (0)