SolrQuery::setHighlightMaxAnalyzedChars

(PECL solr >= 0.9.2)

SolrQuery::setHighlightMaxAnalyzedCharsSpecifies the number of characters into a document to look for suitable snippets

说明

publicSolrQuery::setHighlightMaxAnalyzedChars(int$value): SolrQuery

Specifies the number of characters into a document to look for suitable snippets

参数

value

The number of characters into a document to look for suitable snippets

返回值

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

To Top