在线文档教程
PHP
Solr

SolrQuery::setMltMinDocFrequency

SolrQuery::setMltMinDocFrequency

(PECL solr >= 0.9.2)

SolrQuery::setMltMinDocFrequency — Sets the mltMinDoc frequency

Description

public SolrQuery SolrQuery::setMltMinDocFrequency ( int $minDocFrequency )

The frequency at which words will be ignored which do not occur in at least this many docs.

Parameters

minDocFrequency

Sets the frequency at which words will be ignored which do not occur in at least this many docs.

Return Values

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

← SolrQuery::setMltMaxWordLength

SolrQuery::setMltMinTermFrequency →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.setmltmindocfrequency.php