SolrQuery::setGroupNGroups

(PECL solr >= 2.2.0)

SolrQuery::setGroupNGroupsIf true, Solr includes the number of groups that have matched the query in the results

说明

public SolrQuery::setGroupNGroups ( bool $value ) : SolrQuery

If true, Solr includes the number of groups that have matched the query in the results.

参数

value

返回值

参见

相关文章
php dbx 函数 send a query and fetch all results if any php maxdb 函数 check if there any more query results from a multi queryphp intltimezone get the number of ids in the equivalency group that includes the given idphp mongocommandcursor checks if there are results that have not yet been sent from the databasephp mongocursor counts the number of results for this queryphp mongocursor checks if there are results that have not yet been sent from the databasephp mongocursorinterface checks if there are results that have not yet been sent from the databasephp mongodb driver cursor checks if the cursor may have additional resultsphp mysqli stmt check if there are more query results from a multiple queryphp solrquery allows grouping results based on the unique values of a function query group.func parameter php solrquery allows grouping of documents that match the given queryphp solrquery returns true if grouping is enabledphp solrquery returns all the fields that solr should generate highlighted snippets forphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery if true solr includes the number of groups that have matched the query in the resultsphp solrquery if true facet counts are based on the most relevant document of each group matching the queryphp solrquery set if the query will be boosted by the interesting term relevancephp solrquery sets the maximum number of query terms included
关注编程学问公众号