CREATE TABLE IF NOT EXISTS my_test_tbl
(
doc_num INT(3),
txt_title varchar(100),
txt_detail varchar(200) ,
FULLTEXT (txt_title,txt_detail)
) ENGINE=MyISAM
insert into my_test_tbl(doc_num, txt_title, txt_detail)
values (1,'fox baby river', 'fox brown river baby chair');
insert into my_test_tbl(doc_num, txt_title, txt_detail)
values (2,'sugar man river', 'sugar man river baby chair');
SELECT doc_num FROM my_test_tbl
WHERE MATCH (txt_title, txt_detail) AGAINST ('fox' in boolean mode);
Insert multiple rows into MySQL
How can I run MySQL in standalone mode?
How Jboss CMP Engine create MySQL tables as InnoDB?
MySQL fulltext search vs. Lucene?
MySql data types INTEGER, SMALLINT, DECIMAL, and NUMERIC ?
How can I see queries that don't use indexes on MySql?
Import large SQL dump gives 'MySQL server has gone away'?