From 722de9175a844b8bfa671bedcc915192386f9f6f Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 23 Mar 2024 03:25:36 +0200 Subject: [PATCH] reset index time --- src/cli/document/crawl.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index e0af44c..f4f0c84 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -207,8 +207,9 @@ foreach($index->search('') $index->updateDocument( [ - 'time' => time(), - 'code' => 200 + 'code' => 200, + 'time' => time(), + 'index' => 0 ], $document->getId() );