array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.gethighlightsimplepost.php', 1 => 'SolrQuery::getHighlightSimplePost', 2 => 'Returns the text which appears after a highlighted term', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.gethighlightrequirefieldmatch.php', 1 => 'SolrQuery::getHighlightRequireFieldMatch', ), 'next' => array ( 0 => 'solrquery.gethighlightsimplepre.php', 1 => 'SolrQuery::getHighlightSimplePre', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/gethighlightsimplepost.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::getHighlightSimplePost

(PECL solr >= 0.9.2)

SolrQuery::getHighlightSimplePostReturns the text which appears after a highlighted term

说明

public SolrQuery::getHighlightSimplePost(string $field_override = ?): string

Returns the text which appears after a highlighted term. Accepts an optional field override

参数

field_override

The name of the field

返回值

Returns a string on success and null if not set.