(PECL solr >= 0.9.2)
SolrQuery::setEchoParams — 确定在响应中包含哪种参数
指示 Solr 在响应中包含哪些请求参数以进行调试,合法值包括
- 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
要包含的参数类型
如果使用了返回值,则返回当前的 SolrQuery 对象。