【问题标题】:MarkLogic 10 - database restore from MarkLogic 7 - unable to search managed document in restored dataMarkLogic 10 - 从 MarkLogic 7 恢复数据库 - 无法在恢复的数据中搜索托管文档
【发布时间】:2019-07-10 09:04:10
【问题描述】:

我正在将 MarkLogic 从 7 升级到 10。我正在尝试将备份从 MarkLogic 7 恢复到 MarkLogic 10。数据库已成功恢复,但面临托管文档的问题。我验证了托管文档的历史记录,它存在于数据库中。当我尝试使用

从托管文档中搜索最新版本的文档时,它什么也不返回

cts:search(fn:collection(),dls:documents-query());.

当我尝试检查文档是否通过以下查询进行管理时,它返回 true。

import module namespace dls = "http://marklogic.com/xdmp/dls" at "/MarkLogic/dls.xqy";
dls:document-is-managed('/entity/[some ID].xml');

【问题讨论】:

    标签: database-migration marklogic database-restore marklogic-7 marklogic-10


    【解决方案1】:

    您需要从 MarkLogic 8 之前的版本对 DLS 文档执行批量升级操作。Full details here.

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-17
    相关资源
    最近更新 更多