Skip to content

Commit b304808

Browse files
authored
Merge pull request #36 from Flowpack/fix-decoupling
BUGFIX: Fix decoupling from Elasticsearch
2 parents 41cbab9 + 0e1835f commit b304808

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Classes/Controller/SuggestController.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@
1212
*/
1313

1414
use Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient;
15-
use Neos\Flow\Annotations as Flow;
1615
use Neos\Flow\Mvc\Controller\ActionController;
1716
use Neos\Flow\Mvc\View\JsonView;
1817

1918
class SuggestController extends ActionController
2019
{
2120
/**
22-
* @Flow\Inject
23-
* @var \Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient
21+
* @var ElasticSearchClient
2422
*/
2523
protected $elasticSearchClient;
2624

@@ -49,6 +47,7 @@ public function initializeObject()
4947
* @param string $term
5048
*
5149
* @return void
50+
* @throws \Flowpack\ElasticSearch\Exception
5251
*/
5352
public function indexAction($term)
5453
{

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"type": "neos-package",
55
"description": "Plugin for search integration via content node",
66
"require": {
7-
"flowpack/elasticsearch-contentrepositoryadaptor": "^4.0",
87
"neos/content-repository": "^3.0",
98
"neos/content-repository-search": "^3.0",
109
"neos/eel": "^4.0",

0 commit comments

Comments
 (0)