Skip to content

Commit 3f2210d

Browse files
committed
BUGFIX: Readd type property
1 parent e4cb855 commit 3f2210d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Classes/Driver/Version6/IndexerDriver.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function document(string $indexName, NodeInterface $node, ElasticSearchDo
4141
return [
4242
[
4343
'update' => [
44+
'_type' => '_doc',
4445
'_id' => $document->getId(),
4546
'_index' => $indexName,
4647
'retry_on_conflict' => 3
@@ -69,6 +70,7 @@ public function document(string $indexName, NodeInterface $node, ElasticSearchDo
6970
return [
7071
[
7172
'index' => [
73+
'_type' => '_doc',
7274
'_id' => $document->getId(),
7375
'_index' => $indexName,
7476
]
@@ -109,6 +111,7 @@ public function fulltext(NodeInterface $node, array $fulltextIndexOfNode, string
109111
return [
110112
[
111113
'update' => [
114+
'_type' => '_doc',
112115
'_id' => $closestFulltextNodeDocumentIdentifier
113116
]
114117
],

0 commit comments

Comments
 (0)