throw new FacetPhaseExecutionException(fieldName, "no mapping found for " + fieldName);
}
final Index index = context.mapperService().index();
final Settings indexSettings = context.indexShard().indexSettings();
final Names fieldNames = mapper.names();
// final Resident ifdc = new IndexFieldDataCache.Resident(
// _indicesService.indexServiceSafe(index.getName()), fieldNames, fieldDataType);
final IndexFieldDataCache ifdc =
_cache.buildIndexFieldDataCache(_indicesService.indexServiceSafe(index.getName()),