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 firebird/interbase 函数 return the number of rows that were affected by the previous 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 mysqli stmt check if there are more query results from a multiple queryphp mysqlnduhconnection check if there are any more query results from a multi queryphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns true if grouping is enabledphp 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 query
关注编程学问公众号