Please wait while we load your page...
 

Announcements

PHP Manual :: SolrQuery::addExpandSortField



SolrQuery::addExpandFilterQuery || SolrQuery::addFacetDateField || SolrQuery || PHP Manual

(PECL solr >= 2.2.0)

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

Description

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

Return Values

SolrQuery

See Also



SolrQuery::addExpandFilterQuery || SolrQuery::addFacetDateField || SolrQuery || PHP Manual
Live Chat Not Available