/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('sineflow:es:index:build')->setDescription('(Re)builds elasticsearch index.')->addOption('delete-old', null, InputOption::VALUE_NONE, 'If set, the old index will be deleted upon successful rebuilding')->addOption('cancel-current', null, InputOption::VALUE_NONE, 'If set, any indices the write alias points to (except the live one) will be deleted'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('sineflow:es:index:build')->setDescription('(Re)builds elasticsearch index.')->addOption('delete-old', null, InputOption::VALUE_NONE, 'If set, the old index will be deleted upon successful rebuilding'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('sineflow:es:index:create')->setDescription('Creates elasticsearch index.'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('sineflow:es:index:create')->setDescription('Creates elasticsearch index.')->addOption('with-warmers', 'w', InputOption::VALUE_NONE, 'Puts warmers into index')->addOption('no-mapping', 'm', InputOption::VALUE_NONE, 'Do not include mapping'); }