开发者

Acronyms with Sphinx search engine

how can i index acronyms like 'm.i.a.'? when i search for 'mia', i get results for 'mia' and not 'm.i.a.'. when i search for 'm.i.a.', i get nothin开发者_开发问答g at all.

edit:

solution looks roughly like: ignore_chars = -, .


you could add '.' to your ignored character list: http://www.sphinxsearch.com/docs/current.html#conf-ignore-chars

or you could maybe add m.i.a. > mia as a wordform: http://www.sphinxsearch.com/docs/current.html#conf-wordforms

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜