I did and found to my surprise that the ids I’m generating aren’t unique. I know that sounds weird, but I’m storing a log of which ids I’m expecting. Turns out that 2 of the 7 documents have the same generated id, hence I think I’m upserting 7 documents, but in reality I’m only upserting 6…
My faith in indexing is restored. Thank you.
3 Likes