Algorithm for autocomplete?

Posted by StackUnderflow on Stack Overflow See other posts from Stack Overflow or by StackUnderflow
Published on 2010-05-25T03:36:16Z Indexed on 2010/05/25 3:41 UTC
Read the original article Hit count: 663

I am referring to the algorithm that is used to give query suggestions when a user type a search term in google.

I am mainly interested in how google algorithm is able to show: 1. Most important results (most likely queries rather than anything that matches) 2. Match substrings 3. Fuzzy matches

I know you could use Trie or generalized trie to find matches but it wouldn't meet the above requirements...

Similar questions asked earlier here

Thanks

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about autocomplete