SolrQuery::getHighlightFormatter

(PECL solr >= 0.9.2)

SolrQuery::getHighlightFormatterReturns the formatter for the highlighted output

说明

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

Returns the formatter for the highlighted output

参数

field_override

The name of the field

返回值

Returns a string on success and NULL if not set.

相关文章
php eventhttprequest returns the output buffer of the requestphp eventhttprequest returns associative array of the output headersphp solrquery returns the value for the facet.date.other parameterphp 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 all the fields that solr should generate highlighted snippets forphp solrquery returns the formatter for the highlighted outputphp solrquery returns the text snippet generator for highlighted textphp solrquery returns whether or not to enable highlighting for range/wildcard/fuzzy/prefix queriesphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns the text which appears after a highlighted termphp solrquery returns the text which appears before a highlighted termphp solrquery returns the maximum number of highlighted snippets to generate per fieldphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns whether or not to include the lower bound in the result setphp solrquery returns whether or not to include the upper bound term in the result setphp solrquery specify a formatter for the highlight output
关注编程学问公众号