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::getTermsMinCountSolrQuery::getTermsReturnRaw>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::getTermsPrefix

(PECL solr >= 0.9.2)

SolrQuery::getTermsPrefix — Returns the term prefix

Description

public function SolrQuery::getTermsPrefix(): string

Returns the prefix to which matching terms must be restricted. This will restrict matches to only terms that start with the prefix

Parameters

This function has no parameters.

Return Values

Returns a string on success and null if not set.


<SolrQuery::getTermsMinCountSolrQuery::getTermsReturnRaw>
^SolrQueryLast updated: Mon, 26 Oct 2026