update cleanup condition

This commit is contained in:
yggverse 2024-03-20 22:35:33 +02:00
parent dd914e0e1b
commit ad3fd31f67

View File

@ -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(