I have a MyISAM table with a Fulltext index on the NAME
column which is VARCHAR(200)
. I'm searching the table using the Boolean mode and I'm getting very strange results. Example: Let's look for records with the word "TRULY" in the NAME column:
select * from table_MYISAM WHERE MATCH(NAME) AGAINST('+TRULY' IN BOOLEAN MODE);
This returns no results. Now let's look for both "TRULY" and "RICHARD":
select * from table_MYISAM WHERE MATCH(NAME) AGAINST('+TRULY +RICHARD' IN BOOLEAN MODE);
This query returns hundreds of thousands of records with "RICHARD" in NAME, but none contain "TRULY". What is going on?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.