update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets the maximum number of highlighted snippets to generate per field

SolrQuery::setHighlightSnippets

(PECL solr >= 0.9.2)

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

설명

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

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.