The TRIE data structure and search algorithm, on top of leveldb.