php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setTermsField

SolrQuery::setTermsField

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Sets the name of the field to get the Terms from

Description

SolrQuery::setTermsField(string $fieldname): SolrQuery

Sets the name of the field to get the terms from

Parameters

fieldname

The field name

Return Values

Returns the current SolrQuery object, if the return value is used.

Source: reference/solr/solrquery/settermsfield.xml · from the official PHP manual (php/doc-en)