File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 */
1313
1414use Flowpack \ElasticSearch \ContentRepositoryAdaptor \ElasticSearchClient ;
15- use Neos \Flow \Annotations as Flow ;
1615use Neos \Flow \Mvc \Controller \ActionController ;
1716use Neos \Flow \Mvc \View \JsonView ;
1817
1918class 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 {
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments