Browse Source

disable configuration changes cleanup

main
yggverse 8 months ago
parent
commit
b440e6edff
  1. 5
      src/cli/document/clean.php

5
src/cli/document/clean.php

@ -37,6 +37,10 @@ $index = $client->index( @@ -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) @@ -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;

Loading…
Cancel
Save