We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41cbab9 commit 0784d2aCopy full SHA for 0784d2a
1 file changed
Classes/Controller/SuggestController.php
@@ -12,15 +12,13 @@
12
*/
13
14
use Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient;
15
-use Neos\Flow\Annotations as Flow;
16
use Neos\Flow\Mvc\Controller\ActionController;
17
use Neos\Flow\Mvc\View\JsonView;
18
19
class SuggestController extends ActionController
20
{
21
/**
22
- * @Flow\Inject
23
- * @var \Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient
+ * @var ElasticSearchClient
24
25
protected $elasticSearchClient;
26
@@ -49,6 +47,7 @@ public function initializeObject()
49
47
* @param string $term
50
48
*
51
* @return void
+ * @throws \Flowpack\ElasticSearch\Exception
52
53
public function indexAction($term)
54
0 commit comments