小编hde*_*dew的帖子

XDMP-ELEMRIDXNOTFOUND:cts:元素值 -- MarkLogic 10 [marklogic] 中没有元素范围索引

我是 MarkLogic 的新手。

我有 XML 文档

<?xml  version="1.0" encoding="UTF-8"?>
<books xmlns="http://www.marklogic.com/ns/gs-books">
<book bookid="2">
<title>A Quick Path to an Application</title>
<author>
<last>Smith</last>
<first>James</first>
</author>
<publisher>Scribblers Press</publisher>
<isbn>1494-3930392-4</isbn>
<abstract>
          This book describes in detail the power of how 
          to use Java to build powerful web applications 
          that are built on the MarkLogic Server platform.
      </abstract>
</book>
</books>
Run Code Online (Sandbox Code Playgroud)

我该如何使用cts:element-values它呢?

这是我的尝试: cts:element-values(xs:QName("test"),"test")

它给了我这个错误:

[1.0-ml] XDMP-ELEMRIDXNOTFOUND: cts:element-values(fn:QName("","t"), "t") -- t collat​​ion=http://marklogic.com/collat​​ion 没有元素范围索引/ 坐标系=wgs84 [marklogic]

marklogic marklogic-10

1
推荐指数
1
解决办法
298
查看次数

标签 统计

marklogic ×1

marklogic-10 ×1