original_string: protected function get_query_response($query) {
          try {
              return $this->get_search_client()->query($query)->getResponse();
          } catch (\SolrClientException $ex) {
              debugging('Error executing the provided query: ' . $ex->getMessage(), DEBUG_DEVELOPER);
              $this->queryerror = $ex->getMessage();
              return false;
          } catch (\SolrServerException $ex) {
              debugging('Error executing the provided query: ' . $ex->getMessage(), DEBUG_DEVELOPER);
              $this->queryerror = $ex->getMessage();
              return false;
          }
      }
code: protected function get_query_response($query) {
          try {
              return $this->get_search_client()->query($query)->getResponse();
          } catch (\SolrClientException $ex) {
              debugging('Error executing the provided query: ' . $ex->getMessage(), DEBUG_DEVELOPER);
              $this->queryerror = $ex->getMessage();
              return false;
          } catch (\SolrServerException $ex) {
              debugging('Error executing the provided query: ' . $ex->getMessage(), DEBUG_DEVELOPER);
              $this->queryerror = $ex->getMessage();
              return false;
          }
      }
code_tokens: protected function get_query_response ( $ query ) { try { return $ this -> get_search_client ( ) -> query ( $ query ) -> getResponse ( ) ; } catch ( \ SolrClientException $ ex ) { debugging ( 'Error executing the provided query: ' . $ ex -> getMessage ( ) , DEBUG_DEVELOPER ) ; $ this -> queryerror = $ ex -> getMessage ( ) ; return false ; } catch ( \ SolrServerException $ ex ) { debugging ( 'Error executing the provided query: ' . $ ex -> getMessage ( ) , DEBUG_DEVELOPER ) ; $ this -> queryerror = $ ex -> getMessage ( ) ; return false ; } }
docstring: Takes a query and returns the response in SolrObject format.
  
  @param  SolrQuery  $query Solr query object.
  @return SolrObject|false Response document or false on error.
docstring_tokens: Takes a query and returns the response in SolrObject format .