Make elementId into a composite of entryId and the ordering number
#97
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Once we start providing regular updates, the current incremental way we generate
elementIds right now will become a huge point of contention. Since JMdict adds entries in the middle (and likely close to the start) of the dictionary data, everything after will shift and everything that references theelementIds will also need to be updated.Instead, we should make some sort of key like
entryId.orderingNum, which is likely fine since we roughly know an upper limit for the sense count. Things will still shift when new senses are added, but it will be a lot better than what we're doing nowRelated to, but still independent from #96, #95, #6
Note: same for senses