Hi Geert,

Thank you for your response.

I guess it is just something we are wondering about. If we changed Servers or 
hardware, would there be a chance for duplicates. There is no other specific 
reason though.



From: general-boun...@developer.marklogic.com 
<general-boun...@developer.marklogic.com> on behalf of Geert Josten 
Sent: Tuesday, February 13, 2018 8:55 AM
To: MarkLogic Developer Discussion; general-requ...@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Unique GUID generation in MarkLogic

Hi Abhinav,

Can you elaborate on what you mean with ‘unique across environments’?


 on behalf of abhinav mishra 
Reply-To: MarkLogic Developer Discussion 
Date: Tuesday, February 13, 2018 at 8:40 AM
Subject: [MarkLogic Dev General] Unique GUID generation in MarkLogic

Hi All,

We are exploring ways to generate GUIDs. We just want to be sure that the GUIDs 
are unique always and we have a requirement that these GUIDs should be even 
unique across environments. There should not be same GUID in two MarkLogic 

We found sem:uuid-string() function from documentation and seems like a good 
point to start with. However we are not sure if this method returns unique 
across environments.

Can someone guide or provide more information on GUID generation, any third 
party open source library which we can use.

Sent from my iPhone
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
General mailing list
Manage your subscription at: 

Reply via email to