Scholar Repository
Home>Manual>Determines what kind of parameters to include in the response

Determines what kind of parameters to include in the response


SolrQuery::setEchoParams

(PECL solr >= 0.9.2)

SolrQuery::setEchoParamsDetermines what kind of parameters to include in the response

Description

publicSolrQuery SolrQuery::setEchoParams ( string $type )

Instructs Solr what kinds of Request parameters should be included in the response for debugging purposes, legal values include:

- none - don't include any request parameters for debugging
- explicit - include the parameters explicitly specified by the client in the request
- all - include all parameters involved in this request, either specified explicitly by the client, or implicit because of the request handler configuration.

Parameters

type

The type of parameters to include

Return Values

Returns the current SolrQuery object, if the return value is used.


Home>Manual>Determines what kind of parameters to include in the response