SolrQuery::setEchoParams

(PECL solr >= 0.9.2)

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

说明

public SolrQuery::setEchoParams ( string $type ) : SolrQuery

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.

参数

type

The type of parameters to include

返回值

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

相关文章
php mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp svn 函数 determines what kind of item lives at path in a given repository fsrootphp solrquery overrides main filter query determines which documents to include in the main groupphp solrquery returns the minimum counts for facet fields should be included in the responsephp solrquery returns the list of fields that will be returned in the responsephp solrquery returns whether or not to include the lower bound in the result setphp solrquery returns whether or not to include the upper bound term in the result setphp solrquery removes one of the facet.date.other parametersphp solrquery removes one of the facet.date parametersphp solrquery removes one of the facet.query parametersphp solrquery removes one of the stats.facet parametersphp solrquery removes one of the stats.field parametersphp solrquery toggles the echohandler parameterphp solrquery determines what kind of parameters to include in the responsephp solrquery sets the offset into the list of constraints to allow for paginationphp solrquery determines the ordering of the facet field constraintsphp solrquery if true the result of the first field grouping command is used as the main result list in the response using group.format=simplephp solrquery the size of fragments to consider for highlightingphp solrquery include the lower bound term in the result setphp solrquery include the upper bound term in the result set
关注编程学问公众号