Browse Source

reset index time

main
yggverse 8 months ago
parent
commit
3a28bf5967
  1. 5
      src/cli/document/crawl.php

5
src/cli/document/crawl.php

@ -157,7 +157,8 @@ foreach($index->search('') @@ -157,7 +157,8 @@ foreach($index->search('')
$index->updateDocument(
[
'time' => time(),
'code' => 404
'code' => 200,
'index' => 0
],
$document->getId()
);
@ -207,8 +208,8 @@ foreach($index->search('') @@ -207,8 +208,8 @@ foreach($index->search('')
$index->updateDocument(
[
'code' => 200,
'time' => time(),
'code' => 200,
'index' => 0
],
$document->getId()

Loading…
Cancel
Save