I guess this should rather be `ElasticsearchIllegalStateException`? or so?