SolrQuery::setTermsPrefix

(PECL solr >= 0.9.2)

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

说明

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

Restrict matches to terms that start with the prefix

参数

prefix

Restrict matches to terms that start with the prefix

返回值

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

相关文章
php gnupg 函数 returns an array with information about all keys that matches the given patternphp imap 函数 returns the list of mailboxes that matches the given textphp sodium 函数 verifies that a password matches a hashphp imagick changes the color value of any pixel that matches targetphp imagick changes the color value of any pixel that matches targetphp imagick change any pixel that matches colorphp imagick changes any pixel that matches color with the color defined by fillphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns whether or not to enable highlighting for range/wildcard/fuzzy/prefix queriesphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the frequency below which terms will be ignored in the source documentphp solrquery returns the maximum number of terms solr should returnphp solrquery returns the term to start atphp solrquery returns the term prefixphp solrquery maps to facet.date.startphp solrquery specifies a string prefix with which to limits the terms on which to facetphp solrquery if true solr includes the number of groups that have matched the query in the resultsphp solrquery whether to highlight phrase terms only when they appear within the query phrasephp solrquery restrict matches to terms that start with the prefix
关注编程学问公众号