SolrQuery::addExpandSortField

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).

パラメータ

field

field name

order

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

Default: SolrQuery::ORDER_DESC

戻り値

SolrQuery

参考

  • SolrQuery::setExpand
  • SolrQuery::removeExpandSortField
  • SolrQuery::setExpandRows
  • SolrQuery::setExpandQuery
  • SolrQuery::addExpandFilterQuery
  • SolrQuery::removeExpandFilterQuery