|
|
@ -125,12 +125,15 @@ foreach($search->get() as $document) |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
// Debug target |
|
|
|
// Debug target |
|
|
|
echo sprintf( |
|
|
|
if ($config->cli->document->crawl->debug->level->notice) |
|
|
|
_('[%s] index "%s" in "%s"') . PHP_EOL, |
|
|
|
{ |
|
|
|
date('c'), |
|
|
|
echo sprintf( |
|
|
|
$document->get('url'), |
|
|
|
_('[%s] [notice] index "%s" in "%s"') . PHP_EOL, |
|
|
|
$config->manticore->index->document->name |
|
|
|
date('c'), |
|
|
|
); |
|
|
|
$document->get('url'), |
|
|
|
|
|
|
|
$config->manticore->index->document->name |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Update index time anyway and set reset code to 404 |
|
|
|
// Update index time anyway and set reset code to 404 |
|
|
|
$index->updateDocument( |
|
|
|
$index->updateDocument( |
|
|
|