concrete/src/Page/Search/Index/PageIndexer.php
public function forget($page)
    {
        if ($page = $this->getPage($page)) {
            /** @todo Implement forgetting pages completely */

            /** @var Connection $database */
            $database = $this->app['database']->connection();
            $database->executeQuery('DELETE FROM PageSearchIndex WHERE cID=?', [$page->getCollectionID()]);
        }

        return false;
    }
public function forget($page)
    {
        if ($page = $this->getPage($page)) {
            /** @todo Implement forgetting pages completely */

            /** @var Connection $database */
            $database = $this->app['database']->connection();
            $database->executeQuery('DELETE FROM PageSearchIndex WHERE cID=?', [$page->getCollectionID()]);
        }

        return false;
    }
public function forget ( $ page ) { if ( $ page = $ this -> getPage ( $ page ) ) { /** @todo Implement forgetting pages completely */ /** @var Connection $database */ $ database = $ this -> app [ 'database' ] -> connection ( ) ; $ database -> executeQuery ( 'DELETE FROM PageSearchIndex WHERE cID=?' , [ $ page -> getCollectionID ( ) ] ) ; } return false ; }
Remove a page from the index
@param string|int|Page $page. String is path, int is cID
@return bool Success or fail
Remove a page from the index