Skip to content

Commit 8f79b21

Browse files
committed
TASK: v1 needs a LinkedHashMap
1 parent 487dccd commit 8f79b21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Driver/Version1/IndexerDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function fulltext(NodeInterface $node, array $fulltextIndexOfNode, $targe
114114
[
115115
// first, update the __fulltextParts, then re-generate the __fulltext from all __fulltextParts
116116
'script' => '
117-
if (!(ctx._source.containsKey("__fulltextParts") && ctx._source.__fulltextParts instanceof HashMap)) {
117+
if (!(ctx._source.containsKey("__fulltextParts") && ctx._source.__fulltextParts instanceof LinkedHashMap)) {
118118
ctx._source.__fulltextParts = new LinkedHashMap();
119119
}
120120

0 commit comments

Comments
 (0)