We will have to change ElasticsearchSchemaValidatorImpl in HSEARCH-3765 Closed to also validate aliases, and it's currently very hard to understand what's going on there. Let's split this huge file into multiple smaller classes. Note that Sonar also reports this class as having too much cyclomatic complexity. |