略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SolrQuery::addGroupField

2024-12-22

SolrQuery::addGroupField

(PECL solr >= 2.2.0)

SolrQuery::addGroupFieldAdd a field to be used to group results

说明

public SolrQuery::addGroupField(string $value): SolrQuery

The name of the field by which to group results. The field must be single-valued, and either be indexed or a field type that has a value source and works in a function query, such as ExternalFileField. It must also be a string-based field, such as StrField or TextField Uses group.field parameter

参数

value

The name of the field.

返回值

Returns an instance of SolrQuery.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/solrquery.addgroupfield.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3