class BookingDaoESImp extends BaseDaoESImp implements BookingDao {

    public String createBookingBucket(BookingBucket bookingBucket) throws IOException
    {
        Map sourceMap = CommonUtil.convertToMap(bookingBucket);
        IndexRequest indexRequest = new IndexRequest(this.bookingBucketsIndex, ES_TYPE);
        indexRequest.source(sourceMap);
        IndexResponse indexResponse = esclient.index(indexRequest, WriteRequest.RefreshPolicy.WAIT_UNTIL.getValue());
        return indexResponse.getId();
    }

    public  BookingDaoESImp();
    public  BookingDaoESImp(Properties properties);

}