Jump to content


Photo

fulltext index matching .. not working.


  • Please log in to reply
1 reply to this topic

#1 raymondrna

raymondrna
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 26 June 2006 - 05:04 PM


 show index from vinyl;
ERROR 2006: MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    2986025
Current database: records

+-------+------------+------------+--------------+-------------+-----------+-----                 --------+----------+--------+----------+
| Table | Non_unique | Key_name   | Seq_in_index | Column_name | Collation | Card                 inality | Sub_part | Packed | Comment  |
+-------+------------+------------+--------------+-------------+-----------+-----                 --------+----------+--------+----------+
| vinyl |          0 | PRIMARY    |            1 | catalog     | A         |                            1 |     NULL | NULL   |          |
| vinyl |          1 | full_index |            1 | label       | A         |                         NULL |     NULL | NULL   | FULLTEXT |
| vinyl |          1 | full_index |            2 | title       | A         |                         NULL |     NULL | NULL   | FULLTEXT |
| vinyl |          1 | full_index |            3 | composer    | A         |                         NULL |     NULL | NULL   | FULLTEXT |
| vinyl |          1 | full_index |            4 | conducter   | A         |                         NULL |     NULL | NULL   | FULLTEXT |
| vinyl |          1 | full_index |            5 | performer   | A         |                         NULL |     NULL | NULL   | FULLTEXT |
+-------+------------+------------+--------------+-------------+-----------+-----                 --------+----------+--------+----------+
6 rows in set (0.01 sec)

mysql> select * from vinyl
    -> where match (title) against ('Symphony');
ERROR:

mysql>
mysql> select * from vinyl
    -> where match (title) against ('Symphony');
ERROR 2006: MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    2986047
Current database: records

ERROR 1191: Can't find FULLTEXT index matching the column list
mysql>

what's going on?

I ask mysql to describe the index and it tells me it's there. Do a match, and match tells me it's not?

I'm guessing this is a simple syntax mistake, but I'm new with mysql and it seems like what I'm going should just work.

:P

Thanks for the help and your infinite wisdom!!

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 26 June 2006 - 05:49 PM

That is indeed quite strange... should be just fine; post your SHOW CREATE TABLE output here, and I'll try it on my end.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users