nginx - How to automatically complete Chinese characters by inputting pinyin in the background
怪我咯
怪我咯 2017-05-16 17:18:28
0
2
538

For example, communities across the country have a large amount of data and require real-time querying in the background

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
过去多啦不再A梦

It depends on the amount of data and how high your server configuration is.
If the data is only tens of thousands, using redis should be able to meet the requirements.
If the data exceeds 100,000, you can consider dividing it into different libraries (tables) according to the first letter of Pinyin, such as a-c, d-f, g-j, etc., and try to ensure that the search is within a small range

过去多啦不再A梦

This can be achieved using a library that converts pinyin to Chinese characters. Just like Baidu search, you enter pinyin and it will help you associate the Chinese character content

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template