Give the index manager a default index
This commit is contained in:
parent
15f24fcb59
commit
be953b62d7
3 changed files with 32 additions and 12 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue