array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrquery.setfacetsort.php', 1 => 'SolrQuery::setFacetSort', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setfacetprefix.php', 1 => 'SolrQuery::setFacetPrefix', ), 'next' => array ( 0 => 'solrquery.setgroup.php', 1 => 'SolrQuery::setGroup', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setfacetsort.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
SolrQuery::setFacetSort — Determines the ordering of the facet field constraints
Determines the ordering of the facet field constraints
facetSort
Use SolrQuery::FACET_SORT_INDEX for sorting by index order or SolrQuery::FACET_SORT_COUNT for sorting by count.
field_override
The name of the field.
Returns the current SolrQuery object, if the return value is used.