SolrQuery::setFacetMethod

(PECL solr >= 0.9.2)

SolrQuery::setFacetMethodSpecifies the type of algorithm to use when faceting a field

说明

public SolrQuery::setFacetMethod ( string $method [, string $field_override ] ) : SolrQuery

Specifies the type of algorithm to use when faceting a field. This method accepts optional field override.

参数

method

The method to use.

field_override

The name of the field.

返回值

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

相关文章
php imagickdraw sets the opacity to use when drawing using the fill color or fill texturephp imagickdraw sets the opacity to use when drawing using the fill color or fill texturephp imagickdraw specifies the shape to be used at the end of open subpaths when they are strokedphp solrquery adds another field to the facetphp solrquery sets a field to use for similarityphp solrquery maps to stats.field parameterphp solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns the highlight field to use as backup or defaultphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery removes a field from the list of fieldsphp solrquery specifies the type of algorithm to use when faceting a fieldphp 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 specifies the backup field to usephp solrquery require field matching during highlightingphp solrquery sets the maximum number of highlighted snippets to generate per fieldphp solrquery whether to highlight phrase terms only when they appear within the query phrasephp solrquery specifies the maximum number of rows to return in the resultphp solrquery specifies the number of rows to skip
关注编程学问公众号