SolrQuery::addExpandSortField

(PECL solr >= 2.2.0)

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

Descripción

public SolrQuery::addExpandSortField ( string $field [, string $order ] ) : SolrQuery

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

Parámetros

field

field name

order

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

Default: SolrQuery::ORDER_DESC

Valores devueltos

SolrQuery

Ver también