我有Sphinx 0.9.9和类型为“字符串”的字段。当我将长度大于15(即123456789123456789
)的字段号存储在此字段中时,Sphinx无法通过完全相等的查询找到它。
如果我将其存储在此字段qwqwwqw 123456789123456789 qqwqw
中,则会成功找到结果。
[ 我的配置:source resource
{
type = xmlpipe2
....
xmlpipe_field = title
....
}
index resources
{
source = resource
path = ....
docinfo = extern
mlock = 0
morphology = stem_enru
min_stemming_len = 4
min_word_len = 3
charset_type = utf-8
charset_table = 0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F, U+002D
}
Xml源转储:
<?xml version="1.0" encoding="utf-8"?>
<sphinx:docset>
<sphinx:schema>
....
<sphinx:field name="title" attr="string"/>
....
</sphinx:schema>
<sphinx:document id="....">
<title><![CDATA[ .... ]]></title>
</sphinx:document>
</sphinx:docset>
我有Sphinx 0.9.9,字段类型为“ string”。当我在此字段号中存储的长度超过15(即123456789123456789)时,Sphinx无法使用完全相等的查询来找到它。如果我存储在此...