array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'solrquery.sethighlightregexpattern.php', 1 => 'SolrQuery::setHighlightRegexPattern', 2 => 'Specify the regular expression for fragmenting', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.sethighlightregexmaxanalyzedchars.php', 1 => 'SolrQuery::setHighlightRegexMaxAnalyzedChars', ), 'next' => array ( 0 => 'solrquery.sethighlightregexslop.php', 1 => 'SolrQuery::setHighlightRegexSlop', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/sethighlightregexpattern.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setHighlightRegexPattern

(PECL solr >= 0.9.2)

SolrQuery::setHighlightRegexPatternSpecify the regular expression for fragmenting

Beschreibung

public SolrQuery::setHighlightRegexPattern(string $value): SolrQuery

Specifies the regular expression for fragmenting. This could be used to extract sentences

Parameter-Liste

value

The regular expression for fragmenting. This could be used to extract sentences

Rückgabewerte

Returns the current SolrQuery object, if the return value is used.