Give the index manager a default index

This commit is contained in:
ornicar 2011-04-12 15:15:48 -07:00
commit be953b62d7
3 changed files with 32 additions and 12 deletions

View file

@ -31,8 +31,7 @@ class PopulateCommand extends Command
{
$output->writeln('Populating indexes');
$populator = $this->container->get('foq_elastica.populator');
$populator->populate();
$populator = $this->container->get('foq_elastica.populator')->populate();
$output->writeln('Done');
}