(PECL solr >= 0.9.2)
SolrQuery::setMltMaxNumTokens — Specifies the maximum number of tokens to parse
public SolrQuery::setMltMaxNumTokens(int $value): SolrQuery
Specifies the maximum number of tokens to parse in each example doc field that is not stored with TermVector support.
valueThe maximum number of tokens to parse
Returns the current SolrQuery object, if the return value is used.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.setmltmaxnumtokens.php