array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrquery.addexpandsortfield.php', 1 => 'SolrQuery::addExpandSortField', 2 => 'Orders the documents within the expanded groups (expand.sort parameter)', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.addexpandfilterquery.php', 1 => 'SolrQuery::addExpandFilterQuery', ), 'next' => array ( 0 => 'solrquery.addfacetdatefield.php', 1 => 'SolrQuery::addFacetDateField', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/addexpandsortfield.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::addExpandSortField

(PECL solr >= 2.2.0)

SolrQuery::addExpandSortFieldOrders the documents within the expanded groups (expand.sort parameter)

Açıklama

public SolrQuery::addExpandSortField(string $field, string $order = ?): SolrQuery

Orders the documents within the expanded groups (expand.sort parameter).

Bağımsız Değişkenler

field

field name

order

Order ASC/DESC, utilizes SolrQuery::ORDER_* constants.

Default: SolrQuery::ORDER_DESC

Dönen Değerler

SolrQuery

Ayrıca Bakınız