EzSystems\PlatformInstallerBundle\Command\InstallPlatformCommand::indexData PHP Method

indexData() private method

Calls indexing commands on search engines known to need that.
private indexData ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface
    private function indexData(OutputInterface $output)
    {
        if (!in_array($this->searchEngine, ['solr', 'elasticsearch'])) {
            return;
        }
        $output->writeln(sprintf('%s search engine configured, executing command ezplatform:reindex', $this->searchEngine));
        $this->executeCommand($output, 'ezplatform:reindex');
    }