You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// root of hierarchy, no fulltext root found anymore, abort silently...
51
-
$this->logger->log(sprintf('NodeIndexer: No fulltext root found for node %s (%s)', $node->getPath(), $node->getIdentifier()), LOG_WARNING, null, 'ElasticSearch (CR)');
50
+
$this->logger->log(sprintf('NodeIndexer: No fulltext root found for node %s (%s)', $node->getContextPath(), $node->getIdentifier()), LOG_WARNING, null, 'ElasticSearch (CR)');
@@ -93,7 +92,7 @@ public function fulltext(NodeInterface $node, array $fulltextIndexOfNode, $targe
93
92
94
93
if ($closestFulltextNode->isRemoved()) {
95
94
// fulltext root is removed, abort silently...
96
-
$this->logger->log(sprintf('NodeIndexer (%s): Fulltext root found for %s (%s) not updated, it is removed', $closestFulltextNodeDocumentIdentifier, $node->getPath(), $node->getIdentifier()), LOG_DEBUG, null, 'ElasticSearch (CR)');
95
+
$this->logger->log(sprintf('NodeIndexer (%s): Fulltext root found for %s (%s) not updated, it is removed', $closestFulltextNodeDocumentIdentifier, $node->getContextPath(), $node->getIdentifier()), LOG_DEBUG, null, 'ElasticSearch (CR)');
$this->logger->log(sprintf('NodeIndexer (%s): Removed node with identifier %s, no longer in workspace %s', $documentIdentifier, $node->getIdentifier(), $context->getWorkspaceName()), LOG_DEBUG, null, 'ElasticSearch (CR)');
242
243
} else {
243
-
$this->logger->log(sprintf('NodeIndexer (%s): Could not index node with identifier %s, not found in workspace %s', $documentIdentifier, $node->getIdentifier(), $context->getWorkspaceName()), LOG_DEBUG, null, 'ElasticSearch (CR)');
244
+
$this->logger->log(sprintf('NodeIndexer (%s): Could not index node with identifier %s, not found in workspace %s with dimensions %s', $documentIdentifier, $node->getIdentifier(), $context->getWorkspaceName(), json_encode($context->getDimensions())), LOG_DEBUG, null, 'ElasticSearch (CR)');
244
245
}
245
246
}
246
247
};
@@ -310,6 +311,7 @@ public function removeNode(NodeInterface $node, $targetWorkspaceName = null)
310
311
* Perform the current bulk request
311
312
*
312
313
* @return void
314
+
* @throws Exception
313
315
*/
314
316
publicfunctionflush()
315
317
{
@@ -354,7 +356,6 @@ public function flush()
354
356
* @return void
355
357
* @throws Exception
356
358
* @throws ApiException
357
-
* @throws \Exception
358
359
*/
359
360
publicfunctionupdateIndexAlias()
360
361
{
@@ -406,6 +407,7 @@ public function updateIndexAlias()
406
407
* making the "old" index a stale one).
407
408
*
408
409
* @return array<string> a list of index names which were removed
0 commit comments