SolrQuery::addExpandSortField
(PECL solr >= 2.2.0)
SolrQuery::addExpandSortField — Orders the documents within the expanded groups (expand.sort parameter)
说明
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::setExpand() - Enables/Disables the Expand Component
- SolrQuery::removeExpandSortField() - Removes an expand sort field from the expand.sort parameter
- SolrQuery::setExpandRows() - Sets the number of rows to display in each group (expand.rows). Server Default 5
- SolrQuery::setExpandQuery() - Sets the expand.q parameter
- SolrQuery::addExpandFilterQuery() - Overrides main filter query, determines which documents to include in the main group
- SolrQuery::removeExpandFilterQuery() - Removes an expand filter query

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/solrquery.addexpandsortfield.php