search

Home  >  Q&A  >  body text

java - 请问采用拼音或简拼做模糊搜索应该怎么搞?

如题,最好是node下的解决方案:)

大家讲道理大家讲道理2890 days ago438

reply all(1)I'll reply

  • 迷茫

    迷茫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.

    reply
    0
  • Cancelreply