diff --git a/Classes/Controller/SuggestController.php b/Classes/Controller/SuggestController.php index 1e5632e..040c30a 100644 --- a/Classes/Controller/SuggestController.php +++ b/Classes/Controller/SuggestController.php @@ -12,15 +12,13 @@ */ use Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient; -use Neos\Flow\Annotations as Flow; use Neos\Flow\Mvc\Controller\ActionController; use Neos\Flow\Mvc\View\JsonView; class SuggestController extends ActionController { /** - * @Flow\Inject - * @var \Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient + * @var ElasticSearchClient */ protected $elasticSearchClient; @@ -49,6 +47,7 @@ public function initializeObject() * @param string $term * * @return void + * @throws \Flowpack\ElasticSearch\Exception */ public function indexAction($term) { diff --git a/composer.json b/composer.json index 508fe8a..2644acb 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,6 @@ "type": "neos-package", "description": "Plugin for search integration via content node", "require": { - "flowpack/elasticsearch-contentrepositoryadaptor": "^4.0", "neos/content-repository": "^3.0", "neos/content-repository-search": "^3.0", "neos/eel": "^4.0",