SolrQuery::setHighlightMaxAlternateFieldLength

(PECL solr >= 0.9.2) Sets the maximum number of characters of the field to return public SolrQuery SolrQuery::setHighlightMaxAlternateFieldLength ( int $fieldLength [, string $field_override ] ) If SolrQuery::setHighlightAlternateField() was passed the value TRUE, this parameter specifies the maximum number of characters of the field to return Any value less than or equal to 0 means unlimited. Parameter

SolrQuery::setHighlightHighlightMultiTerm

(PECL solr >= 0.9.2) Use SpanScorer to highlight phrase terms public SolrQuery SolrQuery::setHighlightHighlightMultiTerm ( bool $flag ) Use SpanScorer to highlight phrase terms only when they appear within the query phrase in the document. Parameters: flag Whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the do

SolrQuery::setHighlightFragsize

(PECL solr >= 0.9.2) The size of fragments to consider for highlighting public SolrQuery SolrQuery::setHighlightFragsize ( int $size [, string $field_override ] ) Sets the size, in characters, of fragments to consider for highlighting. "0" indicates that the whole field value should be used (no fragmenting). Parameters: size The size, in characters, of fragments to con

SolrQuery::setHighlightFragmenter

(PECL solr >= 0.9.2) Sets a text snippet generator for highlighted text public SolrQuery SolrQuery::setHighlightFragmenter ( string $fragmenter [, string $field_override ] ) Specify a text snippet generator for highlighted text. Parameters: fragmenter The standard fragmenter is gap. Another option is regex, which tries to create fragments that resembles a certain regul

SolrQuery::setHighlightFormatter

(PECL solr >= 0.9.2) Specify a formatter for the highlight output public SolrQuery SolrQuery::setHighlightFormatter ( string $formatter [, string $field_override ] ) Specify a formatter for the highlight output. Parameters: formatter Currently the only legal value is "simple" field_override The name of the field.

SolrQuery::setHighlightAlternateField

(PECL solr >= 0.9.2) Specifies the backup field to use public SolrQuery SolrQuery::setHighlightAlternateField ( string $field [, string $field_override ] ) 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 Parameters: field The name of the backup field field_over

SolrQuery::setHighlight

(PECL solr >= 0.9.2) Enables or disables highlighting public SolrQuery SolrQuery::setHighlight ( bool $flag ) Setting it to TRUE enables highlighted snippets to be generated in the query response. Setting it to FALSE disables highlighting Parameters: flag Enable or disable highlighting Returns: Returns the current SolrQuery object, if the retu

SolrQuery::setGroupTruncate

(PECL solr >= 2.2.0) If true, facet counts are based on the most relevant document of each group matching the query. public SolrQuery SolrQuery::setGroupTruncate ( bool $value ) If true, facet counts are based on the most relevant document of each group matching the query. The server default value is false. group.truncate parameter Parameters: value If true, facet coun

SolrQuery::setGroupOffset

(PECL solr >= 2.2.0) Sets the group.offset parameter. public SolrQuery SolrQuery::setGroupOffset ( integer $value ) Sets the group.offset parameter. Parameters: value Sets the group.offset parameter. Returns: See also: SolrQuery::setGroup() -

SolrQuery::setGroupNGroups

(PECL solr >= 2.2.0) If true, Solr includes the number of groups that have matched the query in the results. public SolrQuery SolrQuery::setGroupNGroups ( bool $value ) If true, Solr includes the number of groups that have matched the query in the results. Parameters: value If true, Solr includes the number of groups that have matched the query in the results.