Php/docs/solrquery.setmltmaxnumtokens

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setMltMaxNumTokens

(PECL solr >= 0.9.2)

SolrQuery::setMltMaxNumTokensSpecifies the maximum number of tokens to parse


说明

public SolrQuery::setMltMaxNumTokens ( int $value ) : SolrQuery

Specifies the maximum number of tokens to parse in each example doc field that is not stored with TermVector support.


参数

value
The maximum number of tokens to parse


返回值

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