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 cubrid mysql 兼容性函数 return the type of the column corresponding to the given field offsetphp frontbase 函数 get the type of the specified field in a resultphp imagickdraw sets the opacity to use when drawing using the fill color or fill texturephp imagickdraw sets the fully specified font to use when annotating with textphp imagickdraw specifies the shape to be used at the end of open subpaths when they are strokedphp imagickdraw specifies the shape to be used at the corners of paths when they are strokedphp solrquery adds another field to the facetphp solrquery specifies which fields to return in the resultphp solrquery specifies a filter queryphp solrquery sets a field to use for similarityphp 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 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 removes one of the stats.field parametersphp solrquery specifies the type of algorithm to use when faceting a fieldphp solrquery specifies the backup field to usephp 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 sets the name of the field to get the terms from
关注编程学问公众号