Thanks a lot for the suggestion 才兄

来源: 2009-01-21 15:43:45 [旧帖] [给我悄悄话] 本文已被阅读:
The problem is that it's not exactly keywords match. It's partial match as user is typing. For example, as user types in "foo", it needs to find words like fool, foolish, foot, footware, football etc very quickly, and as user types in the fourth letter t, it should search again and return only words like foot, footware, football...

To hash all the meaningful character combinations beforehand wouldn't be practical as the're too many.