SolrQuery::getHighlightFragsize

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFragsizeReturns the number of characters of fragments to consider for highlighting

说明

public SolrQuery::getHighlightFragsize ([ string $field_override ] ) : int

Returns the number of characters of fragments to consider for highlighting. Zero implies no fragmenting. The entire field should be used.

参数

field_override

The name of the field

返回值

Returns an integer on success or NULL if not set.

相关文章
php stack returns the number of values in the stackphp eio 函数 returns number of threads currently in usephp solrquery returns the number of rows to display in each group expand.rows php solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the number of characters of fragments to consider for highlightingphp solrquery returns whether or not to enable highlighting for range/wildcard/fuzzy/prefix queriesphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns whether or not the collapse contiguous fragments into a single fragmentphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the maximum number of highlighted snippets to generate per fieldphp solrquery returns the number of similar documents to return for each resultphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum number of documentsphp solrquery returns the maximum number of terms solr should returnphp solrquery the size of fragments to consider for highlightingphp solrquery sets the maximum number of characters of the field to returnphp solrquery specifies the number of characters into a document to look for suitable snippetsphp solrquery specify the maximum number of characters to analyze
关注编程学问公众号