Jump to content

Full Text index doesn't math the column list


webguync

Recommended Posts

Hi,

 

I am working on a form that will bring up data from the MySQL tables. I did some research and realized I needed to a mult-column full-text index in order for the search application to work. In PHP MyAdmin under the SQL area I added this statement.

CREATE FULLTEXT INDEX SearchMe ON ResultsTable (col1,col2, col3.col4,col5); 

 

I tried the search application again and get this error.

SELECT col1, col2,col3,col4,col5 FROM ResultsTable WHERE MATCH(col1, col2,col3,col4,col5) AGAINST ('SearchName')

 

When I enter the SQL code in PHPMyAdmin the result says

"#1191 - Can't find FULLTEXT index matching the column list "

 

so I need to figure out which columns got indexed and which are not or why they don't match up. How can I do this?

it was a matter of indexing columns that I inadvertently didn't included in my Select list.

 

SELECT col1, col2,col3,col4,col5 FROM ResultsTable WHERE MATCH(col1, col2,col3,col4,col5) AGAINST ('SearchName')

 

when I added all of the columns, I no longer got an error.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.