Smile\ElasticsuiteThesaurus\Setup\InstallData::install PHP Method

install() public method

Rebuild Thesaurus index.
public install ( Magento\Framework\Setup\ModuleDataSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void
$setup Magento\Framework\Setup\ModuleDataSetupInterface Setup Interface
$context Magento\Framework\Setup\ModuleContextInterface Module Context Interface
return void
    public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
    {
        $this->getIndexer('elasticsuite_thesaurus')->reindexAll();
    }