问题标签 [marklogic-10]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
89 浏览

machine-learning - RDF 存储上的机器学习以检测模式

我是机器学习的新手,所以请原谅我在这里的详细程度。

我正在寻找是否有一种方法可以开发和训练machine learning模型来查看RDF graph并开始检测graph patterns并标记特定节点,如果它检测到graph pattern.

我并不是真的想将数据导出为文本格式并通过 AutoML 或类似工具运行它来训练和使用模型,但尽可能坚持rdf store自身进行模式匹配。

有人可以与我分享任何对我的需要有用的指针吗?

0 投票
1 回答
53 浏览

database-migration - MarkLogic 10 - 从 MarkLogic 7 恢复数据库 - 无法在恢复的数据中搜索托管文档

我正在MarkLogic从 7 升级到 10。我正在尝试将备份MarkLogic 7MarkLogic 10. 数据库已成功恢复,但面临托管文档的问题。我验证了托管文档的历史记录,它存在于数据库中。当我尝试使用从托管文档中搜索最新版本的文档时,它什么也不返回

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

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

0 投票
1 回答
49 浏览

marklogic - 文档查询 - MarkLogic 10 中的 dls:documents-query() 与 MarkLogic 7 有何不同?

我已从 ML7 升级到 ML10 并恢复了数据库,但dls:documents-query()返回

在 ML10 和

在 ML7 上。主要区别是什么?是否与分配给用户的权限和角色有关?

0 投票
2 回答
140 浏览

database-migration - 在 xdmp:document-insert 之后,托管文档在 MarkLogic 10 中不起作用

  1. 第一次使用管理文档dls:document-insert-and-manage
  2. 使用更新相同的文档xdmp:document-insert
  3. 文档从 dls 最新版本集合中丢失 cts:search(/scopedIntervention/id , dls:documents-query())

  4. 第一次管理文件

    /li>
  5. 验证文档是否存在于最新文档集合中

    cts:search(/scopedIntervention/id , dls:documents-query())

    管理的最新集合中存在的文档

  6. 更新同一个文档

    /li>
  7. 再次验证文档是否存在于最新的文档集合中

    cts:search(/scopedIntervention/id , dls:documents-query())

    管理的最新集合中不存在文档(从集合中丢失)

使用以下升级步骤应用 DLS 包后,相同的文档显示在列表中 ```xquery version "1.0-ml"; 在“/MarkLogic/dls.xqy”处导入模块命名空间 dls = “ http://marklogic.com/xdmp/dls ”;

0 投票
3 回答
75 浏览

marklogic - MarkLogic 10 - 托管文档在 dls:document-checkout-update-checkin 上抛出异常

我已经管理了名为的文档123456.xml,我正在尝试使用 dls 库函数对其进行更新,如下所示,

上面的脚本片段抛出异常,

[1.0-ml] DLS-DOCUMENTVERSION:(错误:FOER0000)无法更新或签出文档版本/abc/123456_xml_versions/1-123456.xml

这是正在更新文档的所有版本的应用程序的现有迁移操作。

0 投票
0 回答
39 浏览

marklogic - 在 MarkLogic 10 中更新托管文档而不创建新版本

我有一种情况,我在应用程序中使用文档 DLS 版本控制功能。因此,在发布新版本的文档之前需要更新文档(背后的原因是,在发布之前需要第三方验证)。下面是更清晰的想法的例子,

在这个例子中,我想更新一些节点/test/2c5faaaf-1f5f-4679-9918-0e8117a0ad7b.xml(这是最新版本),并且在验证过程之后,想创建一个新版本(即3)进行更改。

它可以在MarkLogic 7xdmp:document-insert丢失 DLS 集合中的托管文档且不工作的情况下正常工作MarkLogic 10

我正在尝试实现这种情况,因为它是对与 MarkLogic 通信的现有设计应用程序的需求。

0 投票
1 回答
126 浏览

automation - MarkLogic 10 - 从服务器上的远程位置配置应用服务器、森林和数据库

我正在寻找完全自动化的配置应用服务器、森林和数据库。我找到了按照https://docs.marklogic.com/guide/admin-api/configure通过配置程序配置 MarkLogic 的方法

我正在寻找一种可以作为自动化的一部分集成到构建过程中的方法,它将处理 MarkLogic 10 的这种一次性配置。

0 投票
1 回答
49 浏览

amazon-web-services - 如何检查 MarkLogic AWS 主机中是否启用了“托管集群功能”

我们的团队有一个在 AWS 中运行的 3 节点 marklogic 主机集群。我们不确定它是使用云形成模板还是 AMI 构建的。根据文档,它说如果您使用云形成模板,那么托管集群功能将自动启用。我有三个疑问:-

  1. 有什么方法可以确定在 marklogic 中运行的主机是使用单个 AMI 还是使用云形成模板创建的?

  2. 我们想检查 MarkLogic AWS 主机中是否启用了“托管集群功能”

  3. 假设如果这 3 个节点是使用 AMI 构建并作为一个集群加入的,我们如何启用“托管集群功能”。我们是否需要使用云形成模板建立一个新的 3 节点集群?

MarkLogic 版本 - 10

0 投票
1 回答
247 浏览

xml - How can I validate XML documents in a specific database against a schema in the Schemas database in Marklogic's query console?

Using Marklogic 10's Query Console. I am trying to validate XML documents against two different schemas that I have loaded into the Schemas database. The XML documents I want to validate are in a database I created called "myDatabase". I want to be able to run validation against existing documents in the database and also run validation before inserting new documents into the database.

I've written two different queries (to validate existing documents and another to run before document creation), but the only way I can get them to work in Query Console is if I select the Documents database, select the App-Services server, and use xdmp:eval() to get the documents from "myDatabase".

My question is, how can I run these queries against documents in "myDatabase" without using the xdmp:eval() workaround?

I'm including the queries below:

Update: If I try to run the validation query or even just try to compile schematron in any database other than Documents I get the following error message:

0 投票
0 回答
39 浏览

marklogic - 恢复 MarkLogic 10 默认服务器和数据库配置

我尝试将,default databases等移动到不同的目录位置但突然管理员控制台访问权限被撤销,现在没有用户能够登录。请帮助我了解如何将默认数据库恢复到默认位置并重新获得管理员登录权限?SchemasSecurityModules

尝试的解决方案:

  • 重新开始; 但是,登录身份验证仍然被阻止