Php/docs/solrquery.sethighlightmaxanalyzedchars

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setHighlightMaxAnalyzedChars

(PECL solr >= 0.9.2)

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


说明

public SolrQuery::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.