开发者

How does sphinx UTF-8 search work?

开发者 https://www.devze.com 2023-03-20 09:35 出处:网络
In my database I have Unicode characters like 再也 encoded in UTF-8. When I use sphinx search, I am not able to find that particular word. I tried searching using the HTML encoded 再&#2

In my database I have Unicode characters like 再也 encoded in UTF-8.

When I use sphinx search, I am not able to find that particular word. I tried searching using the HTML encoded 再也 which did not work as well.

开发者_如何学运维

The charset type in my sphinx.conf is:

    charset_type = utf-8

Any idea how to make sphinx search for UTF-8 characters? I'm clueless.


If you're dealing with Chinese full-text searching, you can try this: http://code.google.com/p/sphinx-for-chinese

0

精彩评论

暂无评论...
验证码 换一张
取 消