I am upgrading MarkLogic
from 7 to 10. I am trying to restore backup from MarkLogic 7
to MarkLogic 10
. Database restored successfully but facing issues with managed documents. I verified managed documents history and it is present in the database. It returns nothing when I try to search for the latest version documents from managed documents using
cts:search(fn:collection(),dls:documents-query());
.
When I tried to check document is managed with below query it returns true.
import module namespace dls = "http://marklogic.com/xdmp/dls" at "/MarkLogic/dls.xqy";
dls:document-is-managed('/entity/[some ID].xml');
You need to perform a bulk upgrade operation on DLS documents from versions of MarkLogic prior to 8. Full details here.