SolrQuery::getHighlightSnippets

(PECL solr >= 0.9.2)

SolrQuery::getHighlightSnippetsReturns the maximum number of highlighted snippets to generate per field

说明

public SolrQuery::getHighlightSnippets ([ string $field_override ] ) : int

Returns the maximum number of highlighted snippets to generate per field. Accepts an optional field override

参数

field_override

The name of the field

返回值

Returns an integer on success and NULL if not set.

相关文章
php mysqli stmt returns the number of field in the given statementphp solrquery returns the number of rows to display in each group expand.rows php solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns all the fields that solr should generate highlighted snippets forphp 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 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 text which appears after 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 the maximum word length above which words will be ignoredphp solrquery returns the maximum number of documentsphp solrquery returns the maximum number of terms solr should returnphp solrquery returns the maximum document frequencyphp solrquery sets the maximum number of characters of the field to returnphp solrquery sets the maximum number of highlighted snippets to generate per fieldphp solrquery specifies the maximum number of rows to return in the result
关注编程学问公众号