php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setHighlightMaxAnalyzedChars

SolrQuery::setHighlightMaxAnalyzedChars

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

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

Description

SolrQuery::setHighlightMaxAnalyzedChars(int $value): SolrQuery

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

Parameters

value

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

Return Values

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

Source: reference/solr/solrquery/sethighlightmaxanalyzedchars.xml · from the official PHP manual (php/doc-en)