SolrQuery::setHighlightSimplePre
(PECL solr >= 0.9.2)
SolrQuery::setHighlightSimplePre — Sets the text which appears before a highlighted term
Description
public function SolrQuery::setHighlightSimplePre(string
$simplePre, string $field_override = ?): SolrQuerySets the text which appears before a highlighted term
The default is <em>
Parameters
simplePre
The text which appears before a highlighted term
field_override
The name of the field.
Return Values
Returns the current SolrQuery object, if the return value is used.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
