©
本文檔使用 php中文網手册 發布
(PECL solr >= 2.2.0)
SolrQuery::addExpandSortField — Orders the documents within the expanded groups (expand.sort parameter).
$field
[, string $order
] )Orders the documents within the expanded groups (expand.sort parameter).
field
field name
order
Order ASC/DESC, utilizes SolrQuery::ORDER_* constants.
Default: SolrQuery::ORDER_DESC
SolrQuery