Sphinx索引大写字母是单词的开始吗?如果是这样,什么设置可以过度骑行?
当iOS
ios
搜索ios
时,我刚刚发现了一个问题,但找不到。因此,我对换句话说进行了测试,例如市场
。它是由Market
和市场
甚至市场
找到的。如果我制作任何其他字母上限,则在哪里断开,即骆驼案
:市场
,'Market>
。代码>工作是在我的配置文件
中。是否有一个可以告诉我忽略这一点的设置,我很少关心Intialization。
I just discovered an issue when searching for iOS
as IOS
and it wasn't found. So I tested on other words e.g Market
. It is found by Market
and MARKET
and even MARKEt
. Where it breaks is if I make any other letter caps, i..e Camel Case
: mArket
, 'MarKet', etc.
The only reason iOS
works is it is in my config file
. Is there a setting that can tell me to ignore this, I rarely care about intialization.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
'默认值'
charset_table
完全不敏感(至少对于英语/ascii!)http://sphinxsearch.com/docs/docs/docs/docs/current/current/current/conf-charset-table。 html
建议您已配置了
charset_table
,因此它不再使搜索案例不敏感。和/或不使用ASCII字符(情况折叠不会涉及扩展字符)和/或想知道您是否已配置了
min_word_len
,因此不是索引3个字母单词吗?http://sphinxsearch.com/docs/current of word-len.html
The 'default'
charset_table
is entirely case-insensitive (at least for English/ASCII!)http://sphinxsearch.com/docs/current/conf-charset-table.html
Suggests you've configured your
charset_table
such that it no longer making searches case insensitive. And/or not ascii characters (the case folding wont deal with extended chars)And/or wonder if you have configured
min_word_len
, such not indexing 3 letter words?http://sphinxsearch.com/docs/current/conf-min-word-len.html