SolrQuery::setHighlightSnippets

(PECL solr >= 0.9.2)

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

说明

public SolrQuery::setHighlightSnippets ( int $value [, string $field_override ] ) : SolrQuery

Sets the maximum number of highlighted snippets to generate per field

参数

value

The maximum number of highlighted snippets to generate per field

field_override

The name of the field.

返回值

Returns the current SolrQuery object, if the return value is used.

相关文章
php eventbase sets number of priorities per event basephp solrquery sets a field to use for similarityphp 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 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 sets the number of rows to display in each group expand.rows . server default 5php solrquery sets the maximum number of characters of the field to returnphp solrquery specifies the number of characters into a document to look for suitable snippetsphp solrquery specify the maximum number of characters to analyzephp solrquery sets the maximum number of highlighted snippets to generate per fieldphp solrquery sets the maximum number of query terms includedphp solrquery specifies the maximum number of tokens to parsephp solrquery sets the maximum word lengthphp solrquery specifies the maximum number of rows to return in the resultphp solrquery sets the maximum number of terms to returnphp solrquery sets the maximum document frequency
关注编程学问公众号