Autocomplete backend implemented with a trie/suffix tree