Skip to content

Commit 157790a

Browse files
committed
TASK: Remove deprected _type parameter from documents
1 parent a680679 commit 157790a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Classes/Driver/Version6/IndexerDriver.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public function document(string $indexName, NodeInterface $node, ElasticSearchDo
4141
return [
4242
[
4343
'update' => [
44-
'_type' => '_doc',
4544
'_id' => $document->getId(),
4645
'_index' => $indexName,
4746
'retry_on_conflict' => 3
@@ -70,7 +69,6 @@ public function document(string $indexName, NodeInterface $node, ElasticSearchDo
7069
return [
7170
[
7271
'index' => [
73-
'_type' => '_doc',
7472
'_id' => $document->getId(),
7573
'_index' => $indexName,
7674
]
@@ -103,8 +101,6 @@ public function fulltext(NodeInterface $node, array $fulltextIndexOfNode, string
103101
return [];
104102
}
105103

106-
$this->logger->debug(sprintf('NodeIndexer (%s): Updated fulltext index for %s (%s)', $closestFulltextNodeDocumentIdentifier, $closestFulltextNodeContextPath, $closestFulltextNode->getIdentifier()), LogEnvironment::fromMethodName(__METHOD__));
107-
108104
$upsertFulltextParts = [];
109105
if (!empty($fulltextIndexOfNode)) {
110106
$upsertFulltextParts[$node->getIdentifier()] = $fulltextIndexOfNode;
@@ -113,7 +109,6 @@ public function fulltext(NodeInterface $node, array $fulltextIndexOfNode, string
113109
return [
114110
[
115111
'update' => [
116-
'_type' => '_doc',
117112
'_id' => $closestFulltextNodeDocumentIdentifier
118113
]
119114
],

0 commit comments

Comments
 (0)