SolrQuery::setHighlightMaxAlternateFieldLength

(PECL solr >= 0.9.2)

SolrQuery::setHighlightMaxAlternateFieldLengthSets the maximum number of characters of the field to return

说明

public SolrQuery::setHighlightMaxAlternateFieldLength ( int $fieldLength [, string $field_override ] ) : SolrQuery

If SolrQuery::setHighlightAlternateField() was passed the value TRUE, this parameter specifies the maximum number of characters of the field to return

Any value less than or equal to 0 means unlimited.

参数

fieldLength

The length of the field

field_override

The name of the field.

返回值

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

相关文章
php solrquery sets a field to use for similarityphp solrquery returns the number of characters of fragments to consider for highlightingphp 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 number of similar documents to return for each resultphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum number of terms solr should returnphp 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 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 frequencyphp solrquery return the raw characters of the indexed term
关注编程学问公众号