SolrQuery::setHighlightRegexMaxAnalyzedChars

(PECL solr >= 0.9.2)

SolrQuery::setHighlightRegexMaxAnalyzedCharsSpecify the maximum number of characters to analyze

说锟斤拷

public SolrQuery::setHighlightRegexMaxAnalyzedChars ( int $maxAnalyzedChars ) : SolrQuery

Specify the maximum number of characters to analyze from a field when using the regex fragmenter

锟斤拷锟斤拷

maxAnalyzedChars

The maximum number of characters to analyze from a field when using the regex fragmenter

锟斤拷锟斤拷值

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