SolrQuery
PHP Manual

SolrQuery::setMltMaxWordLength

(PECL solr >= 0.9.2)

SolrQuery::setMltMaxWordLengthSets the maximum word length

说明

public SolrQuery SolrQuery::setMltMaxWordLength ( int $maxWordLength )

Sets the maximum word length above which words will be ignored.

参数

maxWordLength

The maximum word length above which words will be ignored

返回值

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


SolrQuery
PHP Manual