timestamp = System.currentTimeMillis();
}
<BUG>String index = this.index + "-"+ new SimpleDateFormat("yyyy.MM.dd").format(new Date(timestamp));</BUG>
IndexRequest request = new IndexRequest()
<BUG>.index(index)
.type(type)</BUG>
.source(writer.toString())
.create(true);
sender.put(request);
} catch (Exception e) {

timestamp = System.currentTimeMillis();
}
IndexRequest request = new IndexRequest()
.index(getIndex(timestamp))
.type(type)
.source(writer.toString())
.create(true);
sender.put(request);
} catch (Exception e) {
