【发布时间】:2018-12-02 16:33:08
【问题描述】:
我是这个 MarkLogic DB 的新手,到目前为止,我们正在使用它来使用 XQuery 对 XML 文档进行 crud 操作。
现在需求发生了一些变化,需要将 json 数据与文档(可能是 xml/json)一起存储到不同的集合中,并使用 Java api + spring boot 执行 crud 操作
以下 3 个示例集合包含类似于 mongo db 的 json 数据
Employee Collection
-------------------
empid,
`emp id json`
Address Collecion
-----------------------
empid,
`address details json`
Documents collection
-----------------
empid ,
`document (xml/json )`
这在 MarkLogic DB 中可行吗?如果是,请帮助我找到解决方法。
并且需要一个搜索 api 使用 Marklogic + Spring boot 在上述 3 个集合中进行过滤
【问题讨论】:
标签: marklogic