mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Add create databox console command
This commit is contained in:
@@ -22,12 +22,12 @@ class IndexCreateCommand extends Command
|
||||
{
|
||||
$this
|
||||
->setName('searchengine:index:create')
|
||||
->setDescription('Creates search index')
|
||||
;
|
||||
->setDescription('Creates search index');
|
||||
}
|
||||
|
||||
protected function doExecute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
/** @var Indexer $indexer */
|
||||
$indexer = $this->container['elasticsearch.indexer'];
|
||||
|
||||
if ($indexer->indexExists()) {
|
||||
|
Reference in New Issue
Block a user