无法使用marklogic datahub 5.1使用final-database.xml创建范围索引
我在datahub/src/main/ml config/database fields/final-database.xml中添加了几个元素范围索引无法使用marklogic datahub 5.1使用final-database.xml创建范围索引,marklogic,marklogic-dhf,marklogic-10,Marklogic,Marklogic Dhf,Marklogic 10,我在datahub/src/main/ml config/database fields/final-database.xml中添加了几个元素范围索引 <range-path-index xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://marklogic.com/xdmp/database"> <scalar-type>string</
<range-path-index xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://marklogic.com/xdmp/database">
<scalar-type>string</scalar-type>
<path-expression>text('Date Publication')</path-expression>
<collation>http://marklogic.com/collation/codepoint</collation>
<range-value-positions>false</range-value-positions>
<invalid-values>reject</invalid-values>
</range-path-index>
一串
文本(“发布日期”)
http://marklogic.com/collation/codepoint
假的
拒绝
并运行./gradlew mlDeploy-PenvironmentName=local--info
它成功运行,但没有创建添加到xml中的元素范围索引
MarkLogic版本10.0.3
数据中心版本5.1
是否不支持此xml配置
如何实现这一点?我们可以使用datahub/src/main/ml config/databases/final-database.json来实现这一点
但是我们还需要将已经存在的索引添加到这个文件中我们可以通过使用datahub/src/main/ml config/databases/final-database.json来做同样的事情 但是我们还需要将已经存在的索引添加到此文件中