String documentId = logTaskIds.remove(logTask);
if (documentId == null) {
LOG.warn("Could not find original LogTask document id, which means I can't update the original entry. " +
"Writing the result anyhow.");
}
jres.quest(new JresIndexDocument(index, INDEX_TYPE_TASK, documentId, logTask));
}