On Sat, 31 Mar 2001 11:46:54 -0800 (PST), Chai-Hup Chen <[EMAIL PROTECTED]> wrote:
Try this:
SELECT count(*) FROM Books WHERE MATCH Title AGAINST 'cisco'
We use a FULLTEXT index search in a couple of our table for business referral
searches, and it works like a charm!
Hope this helps
>>Hi,
>> Here is the fulltext index I add:
>>
>>CREATE TABLE Books (
>> isbn char(10) NOT NULL default '',
>> Title char(255) NOT NULL default '',
>> FULLTEXT KEY full_title (Title)
>>) TYPE=MyISAM;
>>
>> select count(*) from Books --> 2028971
>> select count(*) from Books where Title like "% cisco %"
>>+----------+
>>| count(*) |
>>+----------+
>>| 86 |
>>+----------+
>>1 row in set (1 min 15.58 sec)
>>
>> Look like the fulltext index is not functioning ... Any idea?
Mike(mickalo)Blezien
========================================
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225) 686-2002
=========================================
---------------------------------------------------------------------
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