Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17934 программиста и 1594 робота. Сейчас ищут 1389 программистов ...
SolrQuery::setGroupFormat - Sets the group format, result structure (group.format parameter).
Вернуться к: SolrQuery
SolrQuery::setGroupFormat
(PECL solr >= 2.2.0)
SolrQuery::setGroupFormat — Sets the group format, result structure (group.format parameter).
Описание
Sets the group.format parameter. If this parameter is set to simple, the grouped documents are presented in a single flat list, and the start and rows parameters affect the numbers of documents instead of groups. Accepts: grouped/simple
Список параметров
-
value
-
Возвращаемые значения
Смотрите также
- SolrQuery::setGroup() - Enable/Disable result grouping (group parameter)
- SolrQuery::addGroupField() - Add a field to be used to group results.
- SolrQuery::addGroupFunction() - Allows grouping results based on the unique values of a function query (group.func parameter).
- SolrQuery::addGroupQuery() - Allows grouping of documents that match the given query.
- SolrQuery::addGroupSortField() - Add a group sort field (group.sort parameter).
- SolrQuery::setGroupFacet() - Sets group.facet parameter
- SolrQuery::setGroupOffset() - Sets the group.offset parameter.
- SolrQuery::setGroupLimit() - Specifies the number of results to return for each group. The server default value is 1.
- SolrQuery::setGroupMain() - If true, the result of the first field grouping command is used as the main result list in the response, using group.format=simple.
- SolrQuery::setGroupNGroups() - If true, Solr includes the number of groups that have matched the query in the results.
- SolrQuery::setGroupTruncate() - If true, facet counts are based on the most relevant document of each group matching the query.
- SolrQuery::setGroupCachePercent() - Enables caching for result grouping
Вернуться к: SolrQuery