String documentId = IdSupplier.newId();
logTaskIds.put(task, documentId);
// true - createOnly besides its literal assurance, add that if for some reason the finishedTask submission gets
// there first, we won't overwrite it with the startedTask which would be missing 'finished' information (say,
// due to parallelized batching submissions or some such).
jres.quest(new JresIndexDocument(index, INDEX_TYPE_TASK, documentId, new QSTaskElasticSearchModel(task), true));
}