mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
4176964358
IndexQueryParserService is only a factory for QueryShardContext instances which are not even bound to a shard. The service only forwards dependencies and even references node level service directly which makes dependency seperation on shard, index and node level hard. This commit removes the service entirely, folds the creation of QueryShardContext into IndexShard which is it's logical place and detaches the ClusterService needed for index name matching during query parsing with a simple predicate interface on IndexSettings.