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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/solrquery.sethighlightmaxanalyzedchars.php