point ID format
#5646
-
I'm using MD5 sums as point IDs e.g.
h := md5.New()
io.WriteString(h, URL)
m := fmt.Sprintf("%x", h.Sum(nil)) // this is what I'm using now
mq := fmt.Sprintf("%s-%s-%s-%s-%s", m[0:8], m[8:12], m[12:16],m[16:20], m[20:]) // but maybe I should use this? |
Beta Was this translation helpful? Give feedback.
Answered by
timvisee
Dec 16, 2024
Replies: 1 comment 4 replies
-
Hey @dnalor, qdrant accepts the following formats - https://qdrant.tech/documentation/concepts/points/#point-ids Internally it is stored as integer, and original formal can't be preserved. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As mentioned above, we only support numeric and UUID point IDs.
Your above md5 string is parsed as UUID, because it coincidentally has the same number of digits. I'd recommend to convert your point IDs into UUIDs on your side explicitly and use those in Qdrant, there should be no downside to this.