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

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top