Engine = myisam
index = fulltext key fx_article (acolumn, bcolumn)
ex)
select doc_id doc_title, doc_body
from ft_article where match(doc_title, doc_body) against('list' in boolean mode);
ft_min_word_len : minimum length of searching word
ft_stopword_file : engine consider it not word, Skip
ft_max_word_len : maximum length of searching word
in Natural Language Mode
ex) searching by word
select doc_id, doc_title, doc_body
from ft_article
where match(doc_title, doc_body) against('hash key' in natural language mode);
in Boolean Mode
+ : AND
-: Not
nothing : OR
No comments:
Post a Comment