mirror of
https://github.com/YGGverse/Yo.git
synced 2025-01-19 11:10:09 +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(
|
$result = $index->deleteDocuments(
|
||||||
$index->search(
|
[
|
||||||
sprintf(
|
'match' =>
|
||||||
'@url "%s"',
|
[
|
||||||
$condition
|
'url' => $condition
|
||||||
)
|
]
|
||||||
)
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
echo sprintf(
|
echo sprintf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user