From b440e6edff9fb8693bdafc0b1e1ab8cb002db255 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 20 Mar 2024 22:41:12 +0200 Subject: [PATCH] disable configuration changes cleanup --- src/cli/document/clean.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cli/document/clean.php b/src/cli/document/clean.php index b626fae..cd563d3 100644 --- a/src/cli/document/clean.php +++ b/src/cli/document/clean.php @@ -37,6 +37,10 @@ $index = $client->index( ); // Apply new configuration rules +/* +@TODO this case removes some not relevant records, the solution still wanted: +https://github.com/manticoresoftware/manticoresearch-php/discussions/196 + echo _('apply new configuration rules...') . PHP_EOL; foreach ($config->cli->document->crawl->skip->stripos->url as $condition) @@ -62,6 +66,7 @@ foreach ($config->cli->document->crawl->skip->stripos->url as $condition) } echo _('new configuration rules apply completed.') . PHP_EOL; +*/ // Optimize indexes echo _('indexes optimization begin...') . PHP_EOL;