The boolean documentContainsLastVersion indicates whether the data currently in the document object
is the latest version. This is needed because the linkextractor is used during the storage of the
document, when the new version does not yet really exist (likewise, that's why we need documentId
and liveVersion explicitely).