SolrQuery::addExpandSortField

(PECL solr >= 2.2.0)
Orders the documents within the expanded groups (expand.sort parameter).
public SolrQuery SolrQuery::addExpandSortField ( string $field [, string $order ] )

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

Parameters:
field

field name

order

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

Default: SolrQuery::ORDER_DESC

Returns:

SolrQuery

See also:

SolrQuery::setExpand() -

SolrQuery::removeExpandSortField() -

SolrQuery::setExpandRows() -

SolrQuery::setExpandQuery() -

SolrQuery::addExpandFilterQuery() -

SolrQuery::removeExpandFilterQuery() -

doc_php
2016-02-24 16:11:12
Comments
Leave a Comment

Please login to continue.