1191 – Can’t find FULLTEXT index matching the column list

If you see the following error notice while conducting a full-text search in a column of a table, it signifies that the column doesn’t have a full-text index.

1191 – Can’t find FULLTEXT index matching the column list

Let’s reproduce this issue.

CREATE TABLE Dept(
EmployeeDetails VARCHAR(100));

INSERT INTO Dept VALUES
(‘John|Sales Team’),
(‘Mike|Sales’),
(‘Smith|Development’),
(‘Jim|New Sales Team’),
(‘Lucy|Development’),
(‘Will|Development’);

SELECT * FROM Dept WHERE MATCH(EmployeeDetails) AGAINST(‘+Sales+’) ;
1191 – Can’t find FULLTEXT index matching the column list

The solution is to add an index to “EmployeeDetails” column as shown below.

ALTER TABLE Dept ADD FULLTEXT(EmployeeDetails);

Hope this helps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s