php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setMltMaxWordLength

SolrQuery::setMltMaxWordLength

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Sets the maximum word length

Description

SolrQuery::setMltMaxWordLength(int $maxWordLength): SolrQuery

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

Parameters

maxWordLength

The maximum word length above which words will be ignored

Return Values

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

Source: reference/solr/solrquery/setmltmaxwordlength.xml · from the official PHP manual (php/doc-en)