phpday 2027 - Call for Papers

The SolrUpdateResponse class

(PECL solr >= 0.9.2)

Introduction

Represents a response to an update request.

Class synopsis

final class SolrUpdateResponse extends SolrResponse {
/* Constants */
const int PARSE_SOLR_OBJ = 0;
const int PARSE_SOLR_DOC = 1;
/* Inherited properties */
protected int $http_status;
protected int $parser_mode;
protected bool $success;
/* Methods */
public function __construct()
public function __destruct()
/* Inherited methods */
public function SolrResponse::getHttpStatus(): int
public function SolrResponse::setParseMode(int $parser_mode = 0): bool
public function SolrResponse::success(): bool
}

Predefined Constants

SolrUpdateResponse Class Constants

SolrUpdateResponse::PARSE_SOLR_OBJ

Documents should be parsed as SolrObject instances

SolrUpdateResponse::PARSE_SOLR_DOC

Documents should be parsed as SolrDocument instances.

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top