From e9d745a9322f90247ef947127f85c1620093cd6d Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 21 Mar 2024 19:07:46 +0200 Subject: [PATCH] make search query by substring --- src/cli/document/clean.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/document/clean.php b/src/cli/document/clean.php index 47a3855..b410579 100644 --- a/src/cli/document/clean.php +++ b/src/cli/document/clean.php @@ -82,7 +82,7 @@ foreach ($config->cli->document->crawl->skip->stripos->url as $condition) foreach( $index->search( sprintf( - '@url %s', + '@url "*%s*"', @\Manticoresearch\Utils::escape( $condition )