* @link https://github.com/pjmazenot/phpsolr-phpdoc
*/
/**
* (PECL solr >= 0.9.2)
* Class SolrResponse
* This class represents a response from the Solr server.
* @link https://php.net/manual/en/class.solrresponse.php
*/
abstract class SolrResponse
{
/** @var int Documents should be parsed as SolrObject instances */
public const PARSE_SOLR_OBJ = 0;
/** @var int Documents should be parsed as SolrDocument instances. */
public const PARSE_SOLR_DOC = 1;
/** @var int The http status of the response. */
protected $http_status;
/** @var int Whether to parse the solr documents as SolrObject or SolrDocument instances. */
protected $parser_mode;
/** @var bool Was there an error during the request */
protected $success;
/** @var string Detailed message on http status */
protected $http_status_message;
/** @var string The request URL */
protected $http_request_url;
/** @var string A string of raw headers sent during the request. */
protected $http_raw_request_headers;
/** @var string The raw request sent to the server */
protected $http_raw_request;
/** @var string Response headers from the Solr server. */
protected $http_raw_response_headers;
/** @var string The response message from the server. */
protected $http_raw_response;
/** @var string The response in PHP serialized format. */
protected $http_digested_response;
/**
* (PECL solr >= 0.9.2)
* Returns the XML response as serialized PHP data
* @link https://php.net/manual/en/solrresponse.getdigestedresponse.php
* @return string
* Returns the XML response as serialized PHP data *
*/ public function getDigestedResponse() {} /** * (PECL solr >= 0.9.2)* Returns the HTTP status of the response. *
*/ public function getHttpStatus() {} /** * (PECL solr >= 0.9.2)* Returns more details on the HTTP status *
*/ public function getHttpStatusMessage() {} /** * (PECL solr >= 0.9.2)* Returns the raw request sent to the Solr server *
*/ public function getRawRequest() {} /** * (PECL solr >= 0.9.2)* Returns the raw request headers sent to the Solr server *
*/ public function getRawRequestHeaders() {} /** * (PECL solr >= 0.9.2)* Returns the raw response from the server. *
*/ public function getRawResponse() {} /** * (PECL solr >= 0.9.2)* Returns the raw response headers from the server. *
*/ public function getRawResponseHeaders() {} /** * (PECL solr >= 0.9.2)* Returns the full URL the request was sent to *
*/ public function getRequestUrl() {} /** * (PECL solr >= 0.9.2)* Returns a SolrObject representing the XML response from the server *
*/ public function getResponse() {} /** * (PECL solr >= 0.9.2)* Returns TRUE on success or FALSE on failure. *
*/ public function setParseMode($parser_mode = 0) {} /** * (PECL solr >= 0.9.2)* Returns TRUE if it was successful and FALSE if it was not. *
*/ public function success() {} }