addSuggester() public method
Adds a suggester to this query.
See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html.
public $this addSuggester ( $name, $definition ) | ||
---|---|---|
$name | string |
The name of the suggester |
$definition | string|array |
The configuration options for this suggester. Can be an array or a json string. |
return | $this |
The query object itself |
Please login to continue.