Php/docs/solrquery.getfacetmethod

提供:Dev Guides
< Php
移動先:案内検索

SolrQuery::getFacetMethod

(PECL solr >= 0.9.2)

SolrQuery::getFacetMethodReturns the value of the facet.method parameter


説明

public SolrQuery::getFacetMethod ([ string $field_override ] ) : string

Returns the value of the facet.method parameter. This accepts an optional field override.


パラメータ

field_override
The name of the field


返り値

Returns a string on success and null if not set