PHP - Manual: SolrQuery::getFacetSort
2024-11-14
(PECL solr >= 0.9.2)
SolrQuery::getFacetSort — Returns the facet sort type
$field_override
= ?): intReturns an integer (SolrQuery::FACET_SORT_INDEX or SolrQuery::FACET_SORT_COUNT)
field_override
The name of the field
Returns an integer (SolrQuery::FACET_SORT_INDEX or SolrQuery::FACET_SORT_COUNT) on success or null
if not set.
官方地址:https://www.php.net/manual/en/solrquery.getfacetsort.php