php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setHighlightSimplePost

SolrQuery::setHighlightSimplePost

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Sets the text which appears after a highlighted term

Description

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.

Source: reference/solr/solrquery/sethighlightsimplepost.xml · from the official PHP manual (php/doc-en)