public function getRaw()
    {
        $params = [
            'index' => $this->getIndex(),
            'type'  => $this->getType(),
            'body'  => $this->toDSL(),
        ];

        return $this->connection->searchStatement($params);
    }
public function getRaw()
    {
        $params = [
            'index' => $this->getIndex(),
            'type'  => $this->getType(),
            'body'  => $this->toDSL(),
        ];

        return $this->connection->searchStatement($params);
    }
public function getRaw ( ) { $ params = [ 'index' => $ this -> getIndex ( ) , 'type' => $ this -> getType ( ) , 'body' => $ this -> toDSL ( ) , ] ; return $ this -> connection -> searchStatement ( $ params ) ; }
Execute the search query against elastic and return the raw result.

@return array
Execute the search query against elastic and return the raw result .