SolrQuery::getFacetLimit

(PECL solr >= 0.9.2)

SolrQuery::getFacetLimitReturns the maximum number of constraint counts that should be returned for the facet fields

说明

public SolrQuery::getFacetLimit ([ string $field_override ] ) : int

Returns the maximum number of constraint counts that should be returned for the facet fields. This method accepts an optional field override

参数

field_override

The name of the field to override for

返回值

Returns an integer on success and NULL if not set

相关文章
php map returns a representation that can be converted to jsonphp solrdocument returns the number of fields in this documentphp solrquery returns all the facet.date fieldsphp solrquery returns all the facet fieldsphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the minimum counts for facet fields should be included in the responsephp solrquery returns an offset into the list of constraints to be used for paginationphp solrquery returns the list of fields that will be returned in the responsephp solrquery returns all the fields that solr should generate highlighted snippets forphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns the maximum number of highlighted snippets to generate per fieldphp solrquery returns whether or not morelikethis results should be enabledphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum word length above which words will be ignoredphp solrquery returns the maximum number of documentsphp solrquery returns the maximum number of terms solr should return
关注编程学问公众号