Add DataService as a parameter to ElasticSearchService constructor and now it is required to initialize the ElasticSearchService instance