PHP 8.4.1 Released!

SolrQuery::addExpandSortField

(PECL solr >= 2.2.0)

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

说明

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

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

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top