private function removeIdxSite(Page $page)
    {
        $query = 'DELETE FROM idx_site_content WHERE site_uid = :site AND content_uid IN (SELECT content_uid FROM idx_page_content WHERE page_uid = :page)';

        $params = array(
            'page' => $page->getUid(),
            'site' => $page->getSite()->getUid(),
        );

        return $this->executeUpdate($query, $params);
    }
private function removeIdxSite(Page $page)
    {
        $query = 'DELETE FROM idx_site_content WHERE site_uid = :site AND content_uid IN (SELECT content_uid FROM idx_page_content WHERE page_uid = :page)';

        $params = array(
            'page' => $page->getUid(),
            'site' => $page->getSite()->getUid(),
        );

        return $this->executeUpdate($query, $params);
    }
private function removeIdxSite ( Page $ page ) { $ query = 'DELETE FROM idx_site_content WHERE site_uid = :site AND content_uid IN (SELECT content_uid FROM idx_page_content WHERE page_uid = :page)' ; $ params = array ( 'page' => $ page -> getUid ( ) , 'site' => $ page -> getSite ( ) -> getUid ( ) , ) ; return $ this -> executeUpdate ( $ query , $ params ) ; }
Remove stored site-content indexes from a site and a page.

@param Page $page

@return IndexationRepository
Remove stored site - content indexes from a site and a page .