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

    (PECL solr >= 0.9.2)

    Sets the maximum number of terms to return

    说明

    publicSolrQuery::setTermsLimit(int $limit): SolrQuery

    Sets the maximum number of terms to return

    参数

    $limit

    The maximum number of terms to return. All the terms will be returned if the limit is negative.

    返回值

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