我如何索引像“m.i.a.”这样的首字母缩略词?当我搜索“mia”时,我得到的结果是“mia”而不是“m.i.a.”。当我搜索“m.i.a.”时,我什么也得不到。
编辑:
解决方案大致如下: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
关于mysql - Sphinx 搜索引擎的首字母缩略词,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1781428/