Index idx = getIndex(user);
log.info("Saving index document " + describe(doc));
// TODO(danilatos): Factor out all the error handling?
AddResponse resp;
try {
resp = idx.add(doc);
} catch (AddException e) {
throw new RetryableFailure("Error indexing " + fields.slobId, e);
}