diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index 838a0ec..e2b43e2 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -174,11 +174,11 @@ foreach($index->search('') ); } - // Update index time anyway and set reset code to 404 + // Update index time anyway and reset code to 404 $index->updateDocument( [ 'time' => time(), - 'code' => 200, + 'code' => 404, 'index' => 0 ], $document->getId()