public function dropIndex($indexHandle)
    {
        $handle = explode('/', $indexHandle);
        $this->getConnection()->delete(UrlHelper::buildUrl(Urls::URL_INDEX, [$handle[0], $handle[1]]));

        return true;
    }
public function dropIndex($indexHandle)
    {
        $handle = explode('/', $indexHandle);
        $this->getConnection()->delete(UrlHelper::buildUrl(Urls::URL_INDEX, [$handle[0], $handle[1]]));

        return true;
    }
public function dropIndex ( $ indexHandle ) { $ handle = explode ( '/' , $ indexHandle ) ; $ this -> getConnection ( ) -> delete ( UrlHelper :: buildUrl ( Urls :: URL_INDEX , [ $ handle [ 0 ] , $ handle [ 1 ] ] ) ) ; return true ; }
Drop an index

@throws Exception

@param mixed $indexHandle - index handle (collection name / index id)

@return bool - always true, will throw if there is an error
Drop an index