SolrQueryResponse
final class SolrQueryResponse extends SolrResponse (View source)
(PECL solr >= 0.9.2)
Class SolrQueryResponse
This class represents a response to a query request.
Constants
PARSE_SOLR_OBJ |
|
PARSE_SOLR_DOC |
|
Properties
protected int | $http_status | from SolrResponse | |
protected int | $parser_mode | from SolrResponse | |
protected bool | $success | from SolrResponse | |
protected string | $http_status_message | from SolrResponse | |
protected string | $http_request_url | from SolrResponse | |
protected string | $http_raw_request_headers | from SolrResponse | |
protected string | $http_raw_request | from SolrResponse | |
protected string | $http_raw_response_headers | from SolrResponse | |
protected string | $http_raw_response | from SolrResponse | |
protected string | $http_digested_response | from SolrResponse |
Methods
(PECL solr >= 0.9.2)
Returns the XML response as serialized PHP data
(PECL solr >= 0.9.2)
Returns more details on the HTTP status
(PECL solr >= 0.9.2)
Returns the raw request sent to the Solr server
(PECL solr >= 0.9.2)
Returns the raw request headers sent to the Solr server
(PECL solr >= 0.9.2)
Returns the raw response from the server
(PECL solr >= 0.9.2)
Returns the raw response headers from the server
(PECL solr >= 0.9.2)
Returns the full URL the request was sent to
(PECL solr >= 0.9.2)
Returns a SolrObject representing the XML response from the server
(PECL solr >= 0.9.2)
SolrQueryResponse constructor.
(PECL solr >= 0.9.2)
Destructor
Details
string
getDigestedResponse()
(PECL solr >= 0.9.2)
Returns the XML response as serialized PHP data
int
getHttpStatus()
(PECL solr >= 0.9.2)
Returns the HTTP status of the response
string
getHttpStatusMessage()
(PECL solr >= 0.9.2)
Returns more details on the HTTP status
string
getRawRequest()
(PECL solr >= 0.9.2)
Returns the raw request sent to the Solr server
string
getRawRequestHeaders()
(PECL solr >= 0.9.2)
Returns the raw request headers sent to the Solr server
string
getRawResponse()
(PECL solr >= 0.9.2)
Returns the raw response from the server
string
getRawResponseHeaders()
(PECL solr >= 0.9.2)
Returns the raw response headers from the server
string
getRequestUrl()
(PECL solr >= 0.9.2)
Returns the full URL the request was sent to
SolrObject
getResponse()
(PECL solr >= 0.9.2)
Returns a SolrObject representing the XML response from the server
bool
setParseMode(int $parser_mode = 0)
(PECL solr >= 0.9.2)
Sets the parse mode
bool
success()
(PECL solr >= 0.9.2)
Was the request a success
__construct()
(PECL solr >= 0.9.2)
SolrQueryResponse constructor.
__destruct()
(PECL solr >= 0.9.2)
Destructor