(PECL solr >= 0.9.2)
Represents a response from the Solr server.
public getDigestedResponse ( ) : string
public getHttpStatus ( ) : int
public getHttpStatusMessage ( ) : string
public getRawRequest ( ) : string
public getRawRequestHeaders ( ) : string
public getRawResponse ( ) : string
public getRawResponseHeaders ( ) : string
public getRequestUrl ( ) : string
public getResponse ( ) : SolrObject
public setParseMode ([ int $parser_mode = 0 ] ) : bool
public 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.
SolrResponse::PARSE_SOLR_OBJ
Documents should be parsed as SolrObject instances
SolrResponse::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.solrresponse.php