--TEST-- SolrResponse::success() - Was the request successful --SKIPIF-- --FILE-- SOLR_SERVER_HOSTNAME, 'login' => SOLR_SERVER_USERNAME, 'password' => SOLR_SERVER_PASSWORD, 'port' => SOLR_SERVER_PORT, 'path' => SOLR_SERVER_PATH, ); $client = new SolrClient($options); $query = new SolrQuery(); $query->setQuery('lucene'); $query_response = $client->query($query); var_dump($query_response->success()); ?> --EXPECTF-- bool(true)