Implemented es_clean_up: changed getIndexMapping to use adaptors getIndex.