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 firebird/interbase 函数 return the number of rows that were affected by the previous queryphp 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 mongocursor if this query should fetch partial results from mongos if a shard is downphp mongocursorinterface checks if there are results that have not yet been sent from the databasephp mysqlnduhconnection check if there are any more query results from a multi queryphp solrquery returns true if group expanding is enabledphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp 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 returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum number of terms solr should returnphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery if true the result of the first field grouping command is used as the main result list in the response using group.format=simplephp 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 relevance
关注编程学问公众号