private function executeSearch(Search $search)
    {
        return $this->getManager()->search([$this->getType()], $search->toArray(), $search->getUriParams());
    }
private function executeSearch(Search $search)
    {
        return $this->getManager()->search([$this->getType()], $search->toArray(), $search->getUriParams());
    }
private function executeSearch ( Search $ search ) { return $ this -> getManager ( ) -> search ( [ $ this -> getType ( ) ] , $ search -> toArray ( ) , $ search -> getUriParams ( ) ) ; }
Executes search to the elasticsearch and returns raw response.

@param Search $search

@return array
Executes search to the elasticsearch and returns raw response .