blob: 0f0b3e61a38ec07bb1c1b060f10f9a051bc00c99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
namespace Elastica\Suggest;
/**
* Comletion suggester.
*
* @author Igor Denisenko <im.denisenko@yahoo.com>
*
* @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html
*/
class Completion extends AbstractSuggest
{
/**
* Set fuzzy parameter.
*
* @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html#fuzzy
*
* @param array $fuzzy
*
* @return $this
*/
public function setFuzzy(array $fuzzy)
{
return $this->setParam('fuzzy', $fuzzy);
}
}
|