在线文档教程
PHP
Solr

SolrQuery::getHighlightMaxAlternateFieldLength

SolrQuery::getHighlightMaxAlternateFieldLength

(PECL solr >= 0.9.2)

SolrQuery::getHighlightMaxAlternateFieldLength — Returns the maximum number of characters of the field to return

Description

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

Returns the maximum number of characters of the field to return

Parameters

field_override

The name of the field

Return Values

Returns an integer on success and NULL if not set.

← SolrQuery::getHighlightHighlightMultiTerm

SolrQuery::getHighlightMaxAnalyzedChars →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.gethighlightmaxalternatefieldlength.php