SOLRPINGRESPONSE(3) 1 SOLRPINGRESPONSE(3)
The SolrPingResponse class
INTRODUCTION
Represents a response to a ping request to the server
CLASS SYNOPSIS
SolrPingResponse
final
SolrPingResponseextends
SolrResponse
Constants
o const integer$SolrPingResponse::PARSE_SOLR_OBJ0
o const integer$SolrPingResponse::PARSE_SOLR_DOC1
Properties
Methods
o public SolrPingResponse::__construct (void )
o public void SolrPingResponse::__destruct (void )
o public string SolrPingResponse::getResponse (void )
Inherited methods
o public string SolrResponse::getDigestedResponse (void )
o public int SolrResponse::getHttpStatus (void )
o public string SolrResponse::getHttpStatusMessage (void )
o public string SolrResponse::getRawRequest (void )
o public string SolrResponse::getRawRequestHeaders (void )
o public string SolrResponse::getRawResponse (void )
o public string SolrResponse::getRawResponseHeaders (void )
o public string SolrResponse::getRequestUrl (void )
o public SolrObject SolrResponse::getResponse (void )
o public bool SolrResponse::setParseMode ([int $parser_mode])
o public bool SolrResponse::success (void )
PROPERTIES
o $http_status
-The http status of the response.
o $parser_mode
-Whether to parse the solr documents as SolrObject or SolrDocument instances.
o $success
-Was there an error during the request
o $http_status_message
-Detailed message on http status
o $http_request_url
-The request URL
o $http_raw_request_headers
-A string of raw headers sent during the request
o $http_raw_request
-The raw request sent to the server
o $http_raw_response_headers
-Response headers from the Solr server
o $http_raw_response
-The response message from the server
o $http_digested_response
-The response in PHP serialized format.
PREDEFINED CONSTANTS
SOLRPINGRESPONSE CLASS CONSTANTS
o SolrPingResponse::PARSE_SOLR_OBJ -Documents should be parsed as SolrObject instances
o SolrPingResponse::PARSE_SOLR_DOC -Documents should be parsed as SolrDocument instances.
PHP Documentation Group SOLRPINGRESPONSE(3)