downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SolrResponse::getDigestedResponse> <SolrClient::threads
[edit] Last updated: Fri, 24 May 2013

view this page in

La clase SolrResponse

(No hay información de versión disponible, podría estar únicamente en SVN)

Introducción

Representa una respuesta del servidor Solr.

Sinopsis de la Clase

abstract SolrResponse {
/* Constantes */
const integer PARSE_SOLR_OBJ = 0 ;
const integer PARSE_SOLR_DOC = 1 ;
/* Propiedades */
protected integer $http_status ;
protected integer $parser_mode ;
protected bool $success ;
protected string $http_status_message ;
protected string $http_request_url ;
protected string $http_raw_request_headers ;
protected string $http_raw_request ;
protected string $http_raw_response_headers ;
protected string $http_raw_response ;
protected string $http_digested_response ;
/* Métodos */
public string getDigestedResponse ( void )
public int getHttpStatus ( void )
public string getHttpStatusMessage ( void )
public string getRawRequest ( void )
public string getRawRequestHeaders ( void )
public string getRawResponse ( void )
public string getRawResponseHeaders ( void )
public string getRequestUrl ( void )
public SolrObject getResponse ( void )
public bool setParseMode ([ int $parser_mode = 0 ] )
public bool success ( void )
}

Propiedades

http_status

El estado http de la resupuesta.

parser_mode

Modo de analizar los documentos, si como instancias de SolrObject o de SolrDocument.

success

¿Ocurrió un error durante la solicitud?

http_status_message

Messaje detallado del estado http

http_request_url

La URL solicitada

http_raw_request_headers

Una cadena de cabeceras en bruto enviada durante la solicitud

http_raw_request

La solicitud en bruto enviada al servidor

http_raw_response_headers

Las cabeceras de resupuesta del servidor Solr

http_raw_response

El mensaje de respuesta del servidor

http_digested_response

La respuesta en formato serializado de PHP.

Constantes predefinidas

Constantes de la Clase SolrResponse

SolrResponse::PARSE_SOLR_OBJ

Los documentos deberían ser analizados como instancias de SolrObject

SolrResponse::PARSE_SOLR_DOC

Los documentos deberían ser analizados como instancias de SolrDocument.

Tabla de contenidos



add a note add a note User Contributed Notes SolrResponse - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites