'body' =>
$settings,
]);
} private function populateEntity(string
$index, EsAwareRepository
$repository, ProgressHelperInterface
$progress): void
{ $iterator =
$repository->
getIterator();
$progress->
start($iterator->
fetchCount(), 'Start indexing: ' .
$repository->
getDomainName());
while ($ids =
$iterator->
fetch()) { $this->
indexEntities($index,
$repository,
$ids);
$progress->
advance(\
count($ids));
} $this->client->
indices()->
refresh(['index' =>
$index]);
$progress->
finish();
$this->evaluation->
finish();
} private function createAlias(string
$index, string
$alias): void
{