(PECL solr >= 0.9.2)
Represents a response to a ping request to the server
public __construct ( )
public __destruct ( ) : void
public getResponse ( ) : string
public SolrResponse::getDigestedResponse ( ) : string
public SolrResponse::getHttpStatus ( ) : int
public SolrResponse::getHttpStatusMessage ( ) : string
public SolrResponse::getRawRequest ( ) : string
public SolrResponse::getRawRequestHeaders ( ) : string
public SolrResponse::getRawResponse ( ) : string
public SolrResponse::getRawResponseHeaders ( ) : string
public SolrResponse::getRequestUrl ( ) : string
public SolrResponse::getResponse ( ) : SolrObject
public SolrResponse::setParseMode ([ int $parser_mode = 0 ] ) : bool
public SolrResponse::success ( ) : bool}
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.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.solrpingresponse.php