protected static void runMapReduceHisotryMinMax(String file, String reduce, Logger log) {
final Datastore ds = MongoConnectionHelper.ds;
final String map = getJsFromFile(file, log);
final MapreduceResults<MapReduceHistoryMinMax> mrRes = ds.mapReduce(MapreduceType.MERGE, ds.createQuery(Meteolog.class), map, reduce, null, null, MapReduceHistoryMinMax.class);
log.debug("mrRes --> count all:" + mrRes.createQuery().countAll());
log.debug("mrRes --> tot time: " + mrRes.getElapsedMillis());
}