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 associative array of the output headersphp solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns all the facet fieldsphp solrquery returns the group.format valuephp solrquery returns group functions group.func parameter values php 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 the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp 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 tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum word length above which words will be ignoredphp solrquery returns whether or not to include the upper bound term in the result setphp solrquery returns the maximum number of terms solr should returnphp solrquery specify a formatter for the highlight outputphp solrquery sets the text which appears after a highlighted term
关注编程学问公众号