PHP 8.4.0 RC4 available for testing

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