On a side note, "sanakirja" is the Finnish word for "dictionary". My casual glance seems to indicate that it is indeed a K-V store backed by B-trees [1]
1: https://pijul.org/2017/03/16/sanakirja/
Nonetheless, in casual usage modern Finnish and Hungarian are completely different. The similarities are revealed only by an advanced study of the grammar and the comparison of the entire vocabularies. (Dis)similarity of an individual term is meaningless.