SolrQuery::setHighlightSimplePre
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Sets the text which appears before a highlighted term
Description
SolrQuery::setHighlightSimplePre(string $simplePre, [string $field_override]): SolrQuery
Sets the text which appears before a highlighted term
The default is <em>
Parameters
simplePreThe text which appears before a highlighted term
field_overrideThe name of the field.
Return Values
Returns the current SolrQuery object, if the return value is used.