• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • SolrQuery::setEchoParams()

    (PECL solr >= 0.9.2)

    Determines what kind of parameters to include in the response

    说明

    publicSolrQuery::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.