SolrQuery::setHighlightUsePhraseHighlighter

(PECL solr >= 0.9.2) Whether to highlight phrase terms only when they appear within the query phrase public SolrQuery SolrQuery::setHighlightUsePhraseHighlighter ( bool $flag ) Sets whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the document Parameters: value Whether or not to use SpanScorer to highlight phra

SolrQuery::setHighlightSnippets

(PECL solr >= 0.9.2) Sets the maximum number of highlighted snippets to generate per field public SolrQuery SolrQuery::setHighlightSnippets ( int $value [, string $field_override ] ) Sets the maximum number of highlighted snippets to generate per field Parameters: value The maximum number of highlighted snippets to generate per field field_overri

SolrQuery::setHighlightSimplePre

(PECL solr >= 0.9.2) Sets the text which appears before a highlighted term public SolrQuery SolrQuery::setHighlightSimplePre ( string $simplePre [, string $field_override ] ) Sets the text which appears before a highlighted term The default is <em> Parameters: simplePre The text which appears before a highlighted term field_override

SolrQuery::setHighlightSimplePost

(PECL solr >= 0.9.2) Sets the text which appears after a highlighted term public SolrQuery SolrQuery::setHighlightSimplePost ( string $simplePost [, string $field_override ] ) Sets the text which appears before a highlighted term Parameters: simplePost Sets the text which appears after a highlighted term The default is </em> field_overrid

SolrQuery::setHighlightRequireFieldMatch

(PECL solr >= 0.9.2) Require field matching during highlighting public SolrQuery SolrQuery::setHighlightRequireFieldMatch ( bool $flag ) If TRUE, then a field will only be highlighted if the query matched in this particular field. This will only work if SolrQuery::setHighlightUsePhraseHighlighter() was set to TRUE Parameters: flag TRUE or FALSE Retu

SolrQuery::setHighlightRegexSlop

(PECL solr >= 0.9.2) Sets the factor by which the regex fragmenter can stray from the ideal fragment size public SolrQuery SolrQuery::setHighlightRegexSlop ( float $factor ) The factor by which the regex fragmenter can stray from the ideal fragment size ( specfied by SolrQuery::setHighlightFragsize )to accomodate the regular expression Parameters: factor The factor by

SolrQuery::setHighlightRegexPattern

(PECL solr >= 0.9.2) Specify the regular expression for fragmenting public SolrQuery SolrQuery::setHighlightRegexPattern ( string $value ) Specifies the regular expression for fragmenting. This could be used to extract sentences Parameters: value The regular expression for fragmenting. This could be used to extract sentences Returns: Returns t

SolrQuery::setHighlightRegexMaxAnalyzedChars

(PECL solr >= 0.9.2) Specify the maximum number of characters to analyze public SolrQuery SolrQuery::setHighlightRegexMaxAnalyzedChars ( int $maxAnalyzedChars ) Specify the maximum number of characters to analyze from a field when using the regex fragmenter Parameters: maxAnalyzedChars The maximum number of characters to analyze from a field when using the regex fragme

SolrQuery::setHighlightMergeContiguous

(PECL solr >= 0.9.2) Whether or not to collapse contiguous fragments into a single fragment public SolrQuery SolrQuery::setHighlightMergeContiguous ( bool $flag [, string $field_override ] ) Whether or not to collapse contiguous fragments into a single fragment Parameters: value Whether or not to collapse contiguous fragments into a single fragment

SolrQuery::setHighlightMaxAnalyzedChars

(PECL solr >= 0.9.2) Specifies the number of characters into a document to look for suitable snippets public SolrQuery SolrQuery::setHighlightMaxAnalyzedChars ( int $value ) Specifies the number of characters into a document to look for suitable snippets Parameters: value The number of characters into a document to look for suitable snippets Returns