Sphinx UTF-8搜索如何工作? [英] How does sphinx UTF-8 search work?

查看:127
本文介绍了Sphinx UTF-8搜索如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的数据库中,我有以UTF-8编码的Unicode字符,如再也.

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

当我使用狮身人面像搜索时,无法找到该特定单词.我尝试使用HTML编码的再也进行搜索,但效果不佳.

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.

我的sphinx.conf中的字符集类型是:

The charset type in my sphinx.conf is:

    charset_type = utf-8

有人知道如何使狮身人面像搜索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

这篇关于Sphinx UTF-8搜索如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆