Browse Source

update cleanup condition

main
yggverse 10 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)
); );
$result = $index->deleteDocuments( $result = $index->deleteDocuments(
$index->search( [
sprintf( 'match' =>
'@url "%s"', [
$condition 'url' => $condition
) ]
) ]
); );
echo sprintf( echo sprintf(

Loading…
Cancel
Save