array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'solrquery.settermsprefix.php', 1 => 'SolrQuery::setTermsPrefix', 2 => 'Restrict matches to terms that start with the prefix', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.settermsmincount.php', 1 => 'SolrQuery::setTermsMinCount', ), 'next' => array ( 0 => 'solrquery.settermsreturnraw.php', 1 => 'SolrQuery::setTermsReturnRaw', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/settermsprefix.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setTermsPrefix

(PECL solr >= 0.9.2)

SolrQuery::setTermsPrefixRestrict matches to terms that start with the prefix

Beschreibung

public SolrQuery::setTermsPrefix(string $prefix): SolrQuery

Restrict matches to terms that start with the prefix

Parameter-Liste

prefix

Restrict matches to terms that start with the prefix

Rückgabewerte

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