SimpleDateFormat format = new SimpleDateFormat("yyyy/MM/dd");
Date d = format.parse("2006/06/01");
long fromTime = d.getTime();
RecencyBoostScorerBuilder recencyBuilder = new RecencyBoostScorerBuilder("date", 2.0f,
TimeUnit.DAYS.convert(fromTime, TimeUnit.MILLISECONDS), 30L, TimeUnit.DAYS);
ScoreAdjusterQuery sq = new ScoreAdjusterQuery(rawQuery, recencyBuilder);
br.setQuery(sq);
res = doTest(br, 4, null, new String[] { "7", "1", "2", "5" });