I did search but I still don't have a clear idea. I used the "universal id" (UNID) many times but never "note id" so want to know the difference.
Asked
Active
Viewed 2,724 times
1 Answers
4
The universal ID uniquely identifies a document across all replicas of a database.
The universal ID is a 32-character combination of hexadecimal digits (0-9, A-F).
The note ID uniquely identifies a document within a particular database.
The note ID is an 8-character combination of letters and numbers.

xlm
- 6,854
- 14
- 53
- 55

Knut Herrmann
- 30,880
- 4
- 31
- 67
-
2It should also be noted that it is possible for the noteid of a given document to change during many routine administrative procedures. Code should never depend on it to remain the same. I.e., definitely do not store noteids as a way to maintain relationships between documents. – Richard Schwartz Jun 08 '15 at 14:24
-
1And although it is much more rare for administrative procedures to change documents' UNIDs, there are cases where this can happen as well. E.g. documents have been accidentally deleted and the deletions have fully replicated, so they are restored from a non-replica copy or simply re-created. Given this possibility, storing UNIDs as a way to maintain relationships between documents is not 100% safe either. – Richard Schwartz Jun 08 '15 at 14:27