We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404e731 commit aaa1798Copy full SHA for aaa1798
1 file changed
Classes/Controller/SuggestController.php
@@ -24,13 +24,11 @@ class SuggestController extends ActionController
24
use CreateContentContextTrait;
25
26
/**
27
- * @Flow\Inject
28
- * @var \Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient
+ * @var ElasticSearchClient
29
*/
30
protected $elasticSearchClient;
31
32
33
34
* @var ElasticSearchQueryBuilder
35
36
protected $elasticSearchQueryBuilder;
@@ -52,6 +50,7 @@ public function initializeObject()
52
50
{
53
51
if ($this->objectManager->isRegistered(ElasticSearchClient::class)) {
54
$this->elasticSearchClient = $this->objectManager->get(ElasticSearchClient::class);
+ $this->elasticSearchQueryBuilder = $this->objectManager->get(ElasticSearchQueryBuilder::class);
55
}
56
57
0 commit comments