array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.sethighlightsimplepre.php', 1 => 'SolrQuery::setHighlightSimplePre', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.sethighlightsimplepost.php', 1 => 'SolrQuery::setHighlightSimplePost', ), 'next' => array ( 0 => 'solrquery.sethighlightsnippets.php', 1 => 'SolrQuery::setHighlightSnippets', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/sethighlightsimplepre.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
SolrQuery::setHighlightSimplePre — Sets the text which appears before a highlighted term
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.