protected function _createElasticaResponse(HttpAdapterResponse $httpAdapterResponse) { return new ElasticaResponse((string) $httpAdapterResponse->getBody(), $httpAdapterResponse->getStatusCode()); }