phpday 2027 - Call for Papers

The SolrQueryResponse class

(PECL solr >= 0.9.2)

Introduction

Represents a response to a query request.

Class synopsis

final class SolrQueryResponse 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

SolrQueryResponse Class constants

SolrQueryResponse::PARSE_SOLR_OBJ

Documents should be parsed as SolrObject instances

SolrQueryResponse::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