The SolrGenericResponse class
Introduction
(PECL solr >= 0.9.2)
Represents a response from the solr server.
Class synopsis
final SolrGenericResponse extends SolrResponse {
/* Constants */
/* Inherited properties */
/* Methods */
public __construct ( )
public __destruct ( ) : void
/* Inherited methods */
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}
Predefined Constants
SolrGenericResponse Class constants
SolrGenericResponse::PARSE_SOLR_OBJ
-
Documents should be parsed as SolrObject instances
SolrGenericResponse::PARSE_SOLR_DOC
-
Documents should be parsed as SolrDocument instances.
Table of Contents
- SolrGenericResponse::__construct — Constructor
- SolrGenericResponse::__destruct — Destructor
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.solrgenericresponse.php