mirror of
https://github.com/YGGverse/Yo.git
synced 2025-01-19 19:20:39 +00:00
update cleanup condition
This commit is contained in:
parent
dd914e0e1b
commit
ad3fd31f67
@ -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…
x
Reference in New Issue
Block a user