private function addIsVisibleInStoreFilter($select, $storeId)
    {
        $rootCategoryId = $this->getRootCategoryId($storeId);

        $select->where('e.path LIKE ?', "1/{$rootCategoryId}%");

        return $this;
    }
private function addIsVisibleInStoreFilter($select, $storeId)
    {
        $rootCategoryId = $this->getRootCategoryId($storeId);

        $select->where('e.path LIKE ?', "1/{$rootCategoryId}%");

        return $this;
    }
private function addIsVisibleInStoreFilter ( $ select , $ storeId ) { $ rootCategoryId = $ this -> getRootCategoryId ( $ storeId ) ; $ select -> where ( 'e.path LIKE ?' , "1/{$rootCategoryId}%" ) ; return $ this ; }
Filter the select to append only categories that are childrens of the root category of current store.

@param \Zend_Db_Select $select  Product select to be filtered.
@param integer         $storeId Store Id

@return \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Action\Full Self Reference
Filter the select to append only categories that are childrens of the root category of current store .