0

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');
Mike Gardner
  • 6,611
  • 5
  • 24
  • 34
IAM
  • 11
  • 4

1 Answers1

3

You need to perform a bulk upgrade operation on DLS documents from versions of MarkLogic prior to 8. Full details here.

Rob S.
  • 3,599
  • 6
  • 30
  • 39
  • Hello Rob, thanks a lot for your help. It solved my issue. – IAM Jul 11 '19 at 08:29
  • facing another issue, https://stackoverflow.com/questions/57112441/managed-document-not-working-in-marklogic-10-after-xdmpdocument-insert – IAM Jul 19 '19 at 12:28