Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::setTermsMinCountSolrQuery::setTermsReturnRaw>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::setTermsPrefix

(PECL solr >= 0.9.2)

SolrQuery::setTermsPrefix — Restrict matches to terms that start with the prefix

Description

public function 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.


<SolrQuery::setTermsMinCountSolrQuery::setTermsReturnRaw>
^SolrQueryLast updated: Mon, 26 Oct 2026