我正在运行MarkLogic版本8.0-6.1.
主机操作系统是红帽企业Linux服务器版本6.8(圣地亚哥).
数据存储在具有90%可用空间的本地磁盘上.
服务器运行得相当好,但偶尔会抛出以下错误.
SVC-FILWRT: File write error: write '/var/opt/MarkLogic/Forests/clickstream-1/0000008a/ListData': File too large
Run Code Online (Sandbox Code Playgroud)
有关根本原因和可能修复的任何想法?
这个问题可能过于产品特定,但我想知道是否有人从HP Quality Center导出错误跟踪数据.
惠普质量中心(QC)有一个旧学校的COM API,但我宁愿使用网络服务,甚至可能使用屏幕刮刀将数据导出到Excel电子表格中.
无论如何,从托管的HP Quality Center导出错误跟踪数据的最佳方法是什么?
XQuery Security Admin API信息发布在此处.
http://docs.marklogic.com/sec:create-user
我可能会遗漏一些东西,但我没有看到等效的JavaScript安全管理API.
是这样的吗?如果是这样,我们可以在下一个MarkLogic版本中期待这一点吗?
我有一个内容存储库,其中最新版本的文档使用 IsLatestVersion 三元组。
这是带有 isLatestVersion 三元组的文档示例。
Document URI: /Transaction/00000000000101000000/1.xml
<aptp:Transaction xmlns:aptp="http://sample.com/aptp">
<aptp:TransactionDate>2016-07-28</aptp:TransactionDate>
<aptp:TransactionType>Principal</aptp:TransactionType>
<aptp:Operation>Buy</aptp:Operation>
<sem:triple name="isLatestVersion"
xmlns:aptp="http://sample.com/aptp"
xmlns:sem="http://marklogic.com/semantics">
<sem:subject datatype="http://www.w3.org/2001/XMLSchema#string">
/Transaction/00000000000101000000/1.xml
</sem:subject>
<sem:predicate>isLatestVersion</sem:predicate>
<sem:object datatype="http://www.w3.org/2001/XMLSchema#boolean">true</sem:object>
</sem:triple>
</aptp:Transaction>
Run Code Online (Sandbox Code Playgroud)
我希望以下代码片段返回最新版本 uri 的序列。它当前返回一个空集。
import module namespace sem = "http://marklogic.com/semantics" at "/MarkLogic/semantics.xqy";
let $uris :=
(
"/Transaction/00000000000101000000/1.xml",
"/Transaction/00000000000101000001/1.xml",
"/Transaction/111111/1.xml"
)
let $query := cts:triple-range-query($uris, "isLatestVersion", fn:true())
return
cts:uris("", (), $query)
Run Code Online (Sandbox Code Playgroud)
我错过了一些明显的东西吗?