在线文档教程
PHP
Solr

SolrQuery::setMltMaxNumTokens

SolrQuery::setMltMaxNumTokens

(PECL solr >= 0.9.2)

SolrQuery::setMltMaxNumTokens — Specifies the maximum number of tokens to parse

Description

public SolrQuery SolrQuery::setMltMaxNumTokens ( int $value )

Specifies the maximum number of tokens to parse in each example doc field that is not stored with TermVector support.

Parameters

value

The maximum number of tokens to parse

Return Values

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

← SolrQuery::setMltMaxNumQueryTerms

SolrQuery::setMltMaxWordLength →

© 1997–2017 The PHP Documentation Group

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

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