@Override
 public void update(IndexableObject object) throws IOException {
   logger.info("update {} = {}", object.toString(), object.build());
   data.put(object, object.build());
   counter++;
   logger.info("size after update {}", data.size());
 }
 @Override
 public void index(IndexableObject object, boolean create) throws IOException {
   logger.info("index {} = {}", object.toString(), object.build());
   data.put(object, object.build());
   counter++;
   logger.info("size after insert {}", data.size());
 }