yiisoft/yii2 — pull request #4505 by tvdavid (2014-07-29 08:29:07+00:00)
Title: Add support for elasticsearch suggestions

Example usage:

```php
$suggests = SearchModel::find()->query(['text' => $query, 'completion' => ['field' => 'suggest']])->suggest();
```