Stopwatch x = Stopwatch.createStarted();
SearchHit doc = searches.firstOfIndex(index);
if (doc == null || doc.isSourceEmpty()) {
x.stop();
throw new EmptyIndexException();
}
int rangeStart = Tools.getTimestampOfMessage(doc);
int took = (int) x.stop().elapsed(TimeUnit.MILLISECONDS);