@Override
  public void flush() {
    long time = System.currentTimeMillis();

    for (Action action : actions) {
      insertTime(action, time);
    }

    // REMOVE from index BEFORE removing the entity.  ie. If we do the reverse, you do a query and
    // get
    // an id of entity that is about to be removed and if removed before you, you don't get the
    // entity
    indexWriter.sendRemoves(removeFromIndex);
    rawSession.sendChanges(actions);
    indexWriter.sendAdds(addToIndex);
  }
 @Override
 public List<Row> find(String colFamily, List<byte[]> keys) {
   return rawSession.find(colFamily, keys);
 }