It does a keyed lookup in `settings.ES_INDEXES` where 'webapp' is the key, 'apps' is the value.