array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.gethighlightmaxanalyzedchars.php', 1 => 'SolrQuery::getHighlightMaxAnalyzedChars', 2 => 'Returns the maximum number of characters into a document to look for suitable snippets', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.gethighlightmaxalternatefieldlength.php', 1 => 'SolrQuery::getHighlightMaxAlternateFieldLength', ), 'next' => array ( 0 => 'solrquery.gethighlightmergecontiguous.php', 1 => 'SolrQuery::getHighlightMergeContiguous', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/gethighlightmaxanalyzedchars.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::getHighlightMaxAnalyzedChars

(PECL solr >= 0.9.2)

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

说明

public SolrQuery::getHighlightMaxAnalyzedChars(): int

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

参数

此函数没有参数。

返回值

Returns an integer on success and null if not set.