Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/240.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何更改osclass中三个字符的搜索限制_Php_Search_Limit_Osclass - Fatal编程技术网

Php 如何更改osclass中三个字符的搜索限制

Php 如何更改osclass中三个字符的搜索限制,php,search,limit,osclass,Php,Search,Limit,Osclass,我在我的网站上使用osclass版本3.8,主题为zara,当我搜索4个字符如“neet”时,它显示了完美的结果,但当我尝试搜索少于3个字符的单词作为“iit”时,它显示不匹配 我想将osclass的这三个字符的搜索限制更改为1。修改mysql配置文件(最小值和最大值): 及 [mysqld] ft_min_word_len=3 [mysqld] ft_min_word_len=3

我在我的网站上使用osclass版本3.8,主题为zara,当我搜索4个字符如“neet”时,它显示了完美的结果,但当我尝试搜索少于3个字符的单词作为“iit”时,它显示不匹配

我想将osclass的这三个字符的搜索限制更改为1。

修改mysql配置文件(最小值和最大值):

[mysqld]
ft_min_word_len=3
[mysqld]
ft_min_word_len=3