Browse Source

update cleanup condition

main
yggverse 9 months ago
parent
commit
ad3fd31f67
  1. 12
      src/cli/document/clean.php

12
src/cli/document/clean.php

@ -47,12 +47,12 @@ foreach ($config->cli->document->crawl->skip->stripos->url as $condition) @@ -47,12 +47,12 @@ foreach ($config->cli->document->crawl->skip->stripos->url as $condition)
);
$result = $index->deleteDocuments(
$index->search(
sprintf(
'@url "%s"',
$condition
)
)
[
'match' =>
[
'url' => $condition
]
]
);
echo sprintf(

Loading…
Cancel
Save