SolrQuery
PHP Manual

SolrQuery::setMltMinWordLength

(PECL solr >= 0.9.2)

SolrQuery::setMltMinWordLengthSets the minimum word length

说明

public SolrQuery SolrQuery::setMltMinWordLength ( int $minWordLength )

Sets the minimum word length below which words will be ignored.

参数

minWordLength

The minimum word length below which words will be ignored

返回值

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


SolrQuery
PHP Manual