PHP - Manual: SolrPingResponse
2024-11-14
(PECL solr >= 0.9.2)
Represents a response to a ping request to the server
The http status of the response.
Whether to parse the solr documents as SolrObject or SolrDocument instances.
Was there an error during the request
Detailed message on http status
The request URL
A string of raw headers sent during the request
The raw request sent to the server
Response headers from the Solr server
The response message from the server
The response in PHP serialized format.
SolrPingResponse::PARSE_SOLR_OBJ
Documents should be parsed as SolrObject instances
SolrPingResponse::PARSE_SOLR_DOC
Documents should be parsed as SolrDocument instances.
官方地址:https://www.php.net/manual/en/class.solrpingresponse.php