sphinx icon indicating copy to clipboard operation
sphinx copied to clipboard

rt索引不能使用中文

Open 6api opened this issue 8 years ago • 1 comments

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
}

6api avatar Aug 12 '17 23:08 6api

charset_type = utf-8加上试试

eric1688 avatar Aug 18 '17 15:08 eric1688