Skip to content

Commit f7243cf

Browse files
authored
BUGFIX: set request _source correctly when updating
1 parent 7411ece commit f7243cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer/NodeIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ protected function appendToBulkRequest(NodeInterface $node, ElasticSearchDocumen
267267
'inline' => '
268268
fulltext = (ctx._source.containsKey("__fulltext") ? ctx._source.__fulltext : new HashMap());
269269
fulltextParts = (ctx._source.containsKey("__fulltextParts") ? ctx._source.__fulltextParts : new HashMap());
270-
_source = newData;
270+
ctx._source = newData;
271271
ctx._source.__fulltext = fulltext;
272272
ctx._source.__fulltextParts = fulltextParts
273273
',

0 commit comments

Comments
 (0)