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()),
index, fieldNames, fieldDataType);
final DateFacetIndexFieldData fieldData = new DateFacetIndexFieldData(
index, indexSettings, fieldNames, fieldDataType, ifdc);