[英]mysql match against error
my codes: 我的代码:
CREATE TABLE `search` (
`tablekey` int(10) unsigned NOT NULL AUTO_INCREMENT,
`col1` varchar(200) DEFAULT NULL,
PRIMARY KEY (`tablekey`),
FULLTEXT KEY `col1` (`col1`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
INSERT INTO `search` (`tablekey`, `col1`) VALUES
(1, 'data for hello user'),
(2, 'data'),
(3, 'data user'),
(4, 'hello what is user for data');
now i have executed this query : 现在我已经执行了这个查询:
Select * from search where match (col1) against('hello' IN BOOLEAN MODE);
and it shows empty set
它显示empty set
hello
is in the Full-Text Stopword List for MyISAM
tables. hello
在MyISAM
表的全文停用词列表中。
See Boolean Full-text Search 请参见布尔全文搜索
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.