Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.