|
|
@ -147,13 +147,13 @@ for ($i = 0; $i <= $total; $i++) |
|
|
|
$index->addDocument( |
|
|
|
$index->addDocument( |
|
|
|
[ |
|
|
|
[ |
|
|
|
'url' => $url, |
|
|
|
'url' => $url, |
|
|
|
'time' => $remote->timeUpdated, |
|
|
|
'time' => (int) $remote->timeUpdated, |
|
|
|
'code' => $remote->httpCode, |
|
|
|
'code' => (int) $remote->httpCode, |
|
|
|
'mime' => $remote->mime, |
|
|
|
'size' => (int) $remote->size, |
|
|
|
'size' => $remote->size, |
|
|
|
'mime' => (string) $remote->mime, |
|
|
|
'title' => $remote->title, |
|
|
|
'title' => (string) $remote->title, |
|
|
|
'description' => $remote->description, |
|
|
|
'description' => (string) $remote->description, |
|
|
|
'keywords' => $remote->keywords |
|
|
|
'keywords' => (string) $remote->keywords |
|
|
|
] |
|
|
|
] |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|