« SolrQuery::setHighlightSimplePost
SolrQuery::setHighlightSnippets »

SolrQuery::setHighlightSimplePre

(PECL solr >= 0.9.2)

SolrQuery::setHighlightSimplePre — Sets the text which appears before a highlighted term

説明

public function SolrQuery::setHighlightSimplePre(string $simplePre, string $field_override = ?): SolrQuery

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.

関連キーワード:
SolrQuery   text   appears   before   highlighted   term   Sets   setHighlightSimplePre   simplePre   override   setHighlightSimplePost   setHighlightSnippets   solr   default   current   return   used
関連する関数・ページ:
solrquery.sethighlightsimplepost   solrquery.gethighlightsimplepre   solrquery.gethighlightsimplepost   solrquery.settermsupperbound   solrquery.sethighlightfragmenter   solrquery.sethighlightsnippets