php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::getSortFields

SolrQuery::getSortFields

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Returns all the sort fields

Description

SolrQuery::getSortFields(): array

Returns all the sort fields

Parameters Parameters

Return Values

Returns an array on success and null if none of the parameters was set.

Source: reference/solr/solrquery/getsortfields.xml · from the official PHP manual (php/doc-en)