class BookingDaoESImp extends BaseDaoESImp implements BookingDao {

    @Override
    public void updateBookingBucketWithAllocatedAmount(String bookingBucketId, Map<String, Double> newAllocatedAmount) throws IOException
    {
        UpdateRequest updateRequest = new UpdateRequest(this.bookingBucketsIndex, ES_TYPE, bookingBucketId);
        Map<String, Object> requestMap = new HashMap<>();
        requestMap.put("allocated_amount", newAllocatedAmount);
        updateRequest.doc(requestMap);
        esclient.update(updateRequest, WriteRequest.RefreshPolicy.WAIT_UNTIL.getValue());
    }

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

}