2
我如何索引首字母縮寫詞'm.i.a.'?當我搜索'mia'時,我得到'mia'的結果而不是'm.i.a.'。當我搜索'm.i.a.'時,我一無所獲。與縮略詞Sphinx搜索引擎
編輯:
解決方案看起來大致是:ignore_chars = -, .
我如何索引首字母縮寫詞'm.i.a.'?當我搜索'mia'時,我得到'mia'的結果而不是'm.i.a.'。當我搜索'm.i.a.'時,我一無所獲。與縮略詞Sphinx搜索引擎
編輯:
解決方案看起來大致是:ignore_chars = -, .
您可以添加 ''到您的忽略字符列表: http://www.sphinxsearch.com/docs/current.html#conf-ignore-chars
或者你也許可以添加m.i.a. > mia作爲字形: http://www.sphinxsearch.com/docs/current.html#conf-wordforms