update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets the text which appears before a highlighted term

SolrQuery::setHighlightSimplePre

(PECL solr >= 0.9.2)

SolrQuery::setHighlightSimplePreSets the text which appears before a highlighted term

설명

public SolrQuery SolrQuery::setHighlightSimplePre ( string $simplePre [, string $field_override ] )

Sets the text which appears before a highlighted term

The default is <em>

인수

simplePre

The text which appears before a highlighted term

field_override

The name of the field.

반환값

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