Replace the type inspector with a mapping registry to improve performances
This commit is contained in:
parent
074c596994
commit
214250416a
7 changed files with 75 additions and 109 deletions
|
|
@ -33,7 +33,7 @@ class PopulateCommand extends Command
|
|||
$this->container->get('foq_elastica.reseter')->reset();
|
||||
|
||||
$output->writeln('Setting mappings');
|
||||
$this->container->get('foq_elastica.mapping_setter')->setMappings();
|
||||
$this->container->get('foq_elastica.mapping_registry')->applyMappings();
|
||||
|
||||
$output->writeln('Populating indexes');
|
||||
$this->container->get('foq_elastica.populator')->populate(function($text) use ($output) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue