update : 2015.11.03
php.shukuma.com

검색:
 
 
Enables or disables highlighting

SolrQuery::setHighlight

(PECL solr >= 0.9.2)

SolrQuery::setHighlightEnables or disables highlighting

설명

public SolrQuery SolrQuery::setHighlight ( bool $flag )

Setting it to TRUE enables highlighted snippets to be generated in the query response.

Setting it to FALSE disables highlighting

인수

flag

Enable or disable highlighting

반환값

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