在线文档教程
PHP
Solr

SolrQuery::getHighlightFields

SolrQuery::getHighlightFields

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFields — Returns all the fields that Solr should generate highlighted snippets for

Description

public array SolrQuery::getHighlightFields ( void )

Returns all the fields that Solr should generate highlighted snippets for

Parameters

This function has no parameters.

Return Values

Returns an array on success and NULL if not set.

← SolrQuery::getHighlightAlternateField

SolrQuery::getHighlightFormatter →

© 1997–2017 The PHP Documentation Group

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

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