SolrQuery::getHighlightAlternateField

(PECL solr >= 0.9.2)

SolrQuery::getHighlightAlternateFieldReturns the highlight field to use as backup or default

说明

public SolrQuery::getHighlightAlternateField ([ string $field_override ] ) : string

Returns the highlight field to use as backup or default. It accepts an optional override.

参数

field_override

The name of the field

返回值

Returns a string on success and NULL if not set.

相关文章
php solrcollapsefunction returns the field that is being collapsed onphp solrquery sets a field to use for similarityphp solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns group fields group.field parameter values php solrquery returns the group.format valuephp solrquery returns the highlight field to use as backup or defaultphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns the maximum number of highlighted snippets to generate per fieldphp solrquery returns all the fields to use for similarityphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the field from which the terms are retrievedphp solrquery returns whether or not to include the upper bound term in the result setphp solrquery removes a field from the list of fieldsphp solrquery specifies the type of algorithm to use when faceting a fieldphp solrquery if true the result of the first field grouping command is used as the main result list in the response using group.format=simplephp solrquery specifies the backup field to usephp solrquery use spanscorer to highlight phrase termsphp solrquery require field matching during highlighting
关注编程学问公众号