在线文档教程
PHP
Solr

SolrQuery::getHighlight

SolrQuery::getHighlight

(PECL solr >= 0.9.2)

SolrQuery::getHighlight — Returns the state of the hl parameter

Description

public bool SolrQuery::getHighlight ( void )

Returns a boolean indicating whether or not to enable highlighted snippets to be generated in the query response.

Parameters

This function has no parameters.

Return Values

Returns a boolean on success and NULL if not set.

← SolrQuery::getGroupTruncate

SolrQuery::getHighlightAlternateField →

© 1997–2017 The PHP Documentation Group

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

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