phpday 2027 - Call for Papers

SolrQuery::setHighlightSimplePost

(PECL solr >= 0.9.2)

SolrQuery::setHighlightSimplePost — Sets the text which appears after a highlighted term

Description

public function SolrQuery::setHighlightSimplePost(string $simplePost, string $field_override = ?): SolrQuery

Sets the text which appears before a highlighted term

Parameters

simplePost

Sets the text which appears after a highlighted term

The default is </em>

field_override

The name of the field.

Return Values

Returns an instance of SolrQuery.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top