mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
reset index time
This commit is contained in:
parent
722de9175a
commit
3a28bf5967
1 changed files with 4 additions and 3 deletions
|
|
@ -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('')
|
|||
|
||||
$index->updateDocument(
|
||||
[
|
||||
'code' => 200,
|
||||
'time' => time(),
|
||||
'code' => 200,
|
||||
'index' => 0
|
||||
],
|
||||
$document->getId()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue