public function SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis::option_definition in Search API Elasticsearch 7
Specify the options this filter uses.
Overrides SearchApiViewsHandlerArgumentMoreLikeThis::option_definition
File
- includes/
views/ SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis.inc, line 10 - Contains SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis.
Class
- SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis
- @file Contains SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis.
Code
public function option_definition() {
$options = parent::option_definition();
$options['min_term_freq'] = array(
'default' => 1,
);
$options['min_doc_freq'] = array(
'default' => 1,
);
return $options;
}