How does sphinx UTF-8 search work?

2019-08-07 00:39发布

问题:

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.

回答1:

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



标签: php utf-8 sphinx