SolrQuery::setHighlightFragsize

(PECL solr >= 0.9.2)

SolrQuery::setHighlightFragsizeThe size of fragments to consider for highlighting

说明

public SolrQuery::setHighlightFragsize ( int $size [, string $field_override ] ) : SolrQuery

Sets the size, in characters, of fragments to consider for highlighting. "0" indicates that the whole field value should be used (no fragmenting).

参数

size

The size, in characters, of fragments to consider for highlighting

field_override

The name of the field.

返回值

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

相关文章
php imagick sets the size of the imagick objectphp solrquery overrides main filter query determines which documents to include in the main groupphp solrquery requests a return of sub results for values within the given facetphp solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns the group.format valuephp 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 whether or not the collapse contiguous fragments into a single fragmentphp solrquery returns the deviation factor from the ideal fragment sizephp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns whether or not to include the upper bound term in the result setphp solrquery removes a field from the list of fieldsphp solrquery removes one of the fields used for highlightingphp solrquery maps to facet.date.gapphp solrquery enables or disables highlightingphp solrquery the size of fragments to consider for highlightingphp solrquery whether or not to collapse contiguous fragments into a single fragmentphp solrquery sets the factor by which the regex fragmenter can stray from the ideal fragment sizephp solrquery require field matching during highlighting
关注编程学问公众号