Full Text Search is a way to provide faster search on your website. Suppose you creating a website for a newspaper where lots of article written on various subject and now you want to fetch all news related to word Modi. Full text search is ideal for this situation.
ALTER TABLE news ADD FULLTEXT(headline, story);
SELECT headline, story FROM news WHERE MATCH (headline,story) AGAINST ('Modi')
Note : FULLTEXT search only to be work varchar, char and text field with MyISAM engine type
0 Comment(s)