迷茫2017-04-17 17:54:57
1. If it is java, we will use pinyin4j to preprocess the data that needs to be retrieved, and add a pinyin field, such as hero then yx, then use ordinary mysql fuzzy search.
By the way, the alphabetical sorting of the address book in the Android phone also pre-processes the names first.