public function replaceOldIndex()
    {
        $this->searchDbHandle = null;
        $path = $this->storageDir . DIRECTORY_SEPARATOR;
        rename($path . self::SEARCH_TEMP_DB, $path . 'search.db');
    }
public function replaceOldIndex()
    {
        $this->searchDbHandle = null;
        $path = $this->storageDir . DIRECTORY_SEPARATOR;
        rename($path . self::SEARCH_TEMP_DB, $path . 'search.db');
    }
public function replaceOldIndex ( ) { $ this -> searchDbHandle = null ; $ path = $ this -> storageDir . DIRECTORY_SEPARATOR ; rename ( $ path . self :: SEARCH_TEMP_DB , $ path . 'search.db' ) ; }
Replaces the old search index database with the new one.
Replaces the old search index database with the new one .