SolrQuery::setTermsSort
Specifies how to sort the returned terms
Description
public SolrQuery SolrQuery::setTermsSort(int $sortType
)
Parameters
-
sortType
-
SolrQuery::TERMS_SORT_INDEX or SolrQuery::TERMS_SORT_COUNT
Return Values
Returns the current SolrQuery object, if the return value is used.