SolrQuery::addExpandSortField
Orders the documents within the expanded groups (expand.sort parameter).
Description
public SolrQuery SolrQuery::addExpandSortField
( string $field
[, string $order
] )
Parameters
-
field
-
field name
-
order
-
Order ASC/DESC, utilizes SolrQuery::ORDER_* constants.
Default: SolrQuery::ORDER_DESC
See Also
- SolrQuery::setExpand
- SolrQuery::removeExpandSortField
- SolrQuery::setExpandRows
- SolrQuery::setExpandQuery
- SolrQuery::addExpandFilterQuery
- SolrQuery::removeExpandFilterQuery