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

SolrQuery::setTermsPrefix

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Restrict matches to terms that start with the prefix

Description

SolrQuery::setTermsPrefix(string $prefix): SolrQuery

Restrict matches to terms that start with the prefix

Parameters

prefix

Restrict matches to terms that start with the prefix

Return Values

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

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