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 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 solrquery allows grouping of documents that match the given queryphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the list of fields that will be returned in the responsephp solrquery returns all the fields that solr should generate highlighted snippets forphp 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 all the stats facets that were setphp solrquery returns the field from which the terms are retrievedphp solrquery returns the maximum number of terms solr should returnphp solrquery returns the term to start atphp 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 sets the frequency below which terms will be ignored in the source docsphp solrquery restrict matches to terms that start with the prefixphp solrquery specifies how to sort the returned terms
关注编程学问公众号