略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SolrQuery::getHighlightFragsize

2025-02-27

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.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/solrquery.gethighlightfragsize.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3