show which repository gets indexed
[phorkie.git] / scripts / index.php
index 893e3fb7c3aee3d322e41e57fb2c8967268212ba..0a2e26c2fcea685a9d59b90b93954184bc537654 100644 (file)
@@ -73,6 +73,7 @@ $r->send();
 //FIXME: define schema
 $rs = new Repositories();
 foreach ($rs->getList(0, 10000) as $repo) {
+    echo 'Indexing ' . $repo->id . "\n";
     $r = new \HTTP_Request2(
         $GLOBALS['phorkie']['cfg']['elasticsearch'] . 'repo/' . $repo->id,
         \HTTP_Request2::METHOD_PUT