Re: Fwd: Re: FULLTEXT exact match queries?

2001-10-01 Thread Lyubomir Simich

Hello Nate,

Monday, 24 September, 2001, 19:56:47, you wrote:

NF I built my database and then used the command:
NF ALTER TABLE disc ADD FULLTEXT (title,recentdata,specialsound,uniqueid)
NF But if I try to search with this command:
NF SELECT title, recentdata, specialsound,uniqueid FROM disc WHERE MATCH 
NF (title) AGAINST ('Superman')
NFORDER BY ID;
NF I get the following error:
NF Error 1191: Can't find FULLTEXT index matching the column list.

NF What am I doing wrong? I think I'm missing something in my ALTER TABLE 
NF statement but I'm not sure. I haven't found any examples on the web for 
NF what I need. TIA!

You need to create fulltext index for one field 'title'
ALTER TABLE disc ADD FULLTEXT (title)

-- 
Best regards,
 Lyubomirmailto:[EMAIL PROTECTED]


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Fwd: Re: FULLTEXT exact match queries?

2001-09-24 Thread Nate Fowler

Hi!

I built my database and then used the command:
ALTER TABLE disc ADD FULLTEXT (title,recentdata,specialsound,uniqueid)
But if I try to search with this command:
SELECT title, recentdata, specialsound,uniqueid FROM disc WHERE MATCH 
(title) AGAINST ('Superman')
   ORDER BY ID;
I get the following error:
Error 1191: Can't find FULLTEXT index matching the column list.

What am I doing wrong? I think I'm missing something in my ALTER TABLE 
statement but I'm not sure. I haven't found any examples on the web for 
what I need. TIA!

Nate


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php