SolrQuery
PHP 手册

SolrQuery::setMltMaxNumTokens

(PECL solr >= 0.9.2)

SolrQuery::setMltMaxNumTokensSpecifies the maximum number of tokens to parse

说明

public SolrQuery SolrQuery::setMltMaxNumTokens ( int $value )

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.


SolrQuery
PHP 手册