SolrQuery
PHP Manual

SolrQuery::setMltMaxNumTokens

(PECL solr >= 0.9.2)

SolrQuery::setMltMaxNumTokensSpecifies the maximum number of tokens to parse

Opis

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.

Parametry

value

The maximum number of tokens to parse

Zwracane wartoĊ›ci

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


SolrQuery
PHP Manual