array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrquery.sethighlightalternatefield.php', 1 => 'SolrQuery::setHighlightAlternateField', 2 => 'Specifies the backup field to use', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.sethighlight.php', 1 => 'SolrQuery::setHighlight', ), 'next' => array ( 0 => 'solrquery.sethighlightformatter.php', 1 => 'SolrQuery::setHighlightFormatter', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/sethighlightalternatefield.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL solr >= 0.9.2)
SolrQuery::setHighlightAlternateField — Specifies the backup field to use
If a snippet cannot be generated because there were no matching terms, one can specify a field to use as the backup or default summary
fieldThe name of the backup field
field_overrideThe name of the field we are overriding this setting for.
Returns the current SolrQuery object, if the return value is used.