Home  >  Article  >  Backend Development  >  coreseek 搜索英文的问题详解_php技巧

coreseek 搜索英文的问题详解_php技巧

WBOY
WBOYOriginal
2016-05-17 09:02:20824browse

问题描述:

被搜索名字为:andy

这时搜索andy正常,但是搜索a就搜不到。

解决办法,在索引配置文件中的index中添加

min_infix_len = 1

最后还要重新索引一下/usr/local/coreseek/bin/indexer -c mysql.conf mysql --rotate

上面的命令不要直接复制确定好自己coreseek的安装目录找到bin下面的命令才行

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn