Shrikant Dhawale
Shrikant Dhawale

Reputation: 85

Why are there 2 documents on the same URI?

I'm wondering why this has happened. May I know what all scenario's might have lead to this situation?

Upvotes: 1

Views: 109

Answers (1)

grtjn
grtjn

Reputation: 20414

It is not usual for this to happen. It usually involves document insertions into explicit forests, or by re-attaching forests with documents at uris that are already in use. Fast-loading options of MLCP and the MapReduce connector can have that effect too. MLCP prints a warning for that reason.

Avoid insertion into explicit forests, and use fast-loading options with care.

For more details on how this can happen, and how to recover from such a situation, please check this article from our Helpdesk Knowledgebase:

https://help.marklogic.com/knowledgebase/article/View/22/16/handling-xdmp-dbdupuri-errors

HTH!

Upvotes: 7

Related Questions