$this->repositories =
$repositories;
$this->evaluation =
$evaluation;
$this->indexFactory =
$indexFactory;
} /**
* @return void
*/
public function index(ProgressHelperInterface
$helper) { foreach ($this->repositories
as $repository) { $index =
$this->indexFactory->
createIndexConfiguration($repository->
getDomainName());
$this->
createIndex($index);
$this->
createMapping($repository,
$index->
getName());
$this->
populateEntity($index->
getName(),
$repository,
$helper);
$this->
createAlias($index->
getName(),
$index->
getAlias());
} } /**
* @param string $index
* @param array<int> $ids
*
* @return void
*/