sphinx
sphinx copied to clipboard
rt索引不能使用中文
plain索引正常,rt索引中文不行 rt索引,不管 chinese_dictionary 是否打开,都无法搜索中文,结果为空,英文可以
index rt
{
# chinese_dictionary = /usr/local/sphinx/etc/xdict
min_word_len = 1
ngram_len = 1
ngram_chars = U+3000..U+2FA1F
type = rt
path = /usr/local/sphinx/var/data/rt
rt_mem_limit = 512M
rt_field = name
rt_attr_uint = cid
}
charset_type = utf-8加上试试