views:

54

answers:

4

Hey Friends
How we can do Full Text Search in InnoDB?

+3  A: 

InnoDB doesn't natively support full-text search. You can use Sphinx to accomplish something similar to this though, I believe.

BoltClock
@BoltClock +1 for Sphinx (daily vote run out though)
Frankie
@Frankie: I know how running out of votes feels :/
BoltClock
@BoltClock ah! But then one waits and comes back the day after! ;)
Frankie
@Frankie: thank you!
BoltClock
A: 

Fulltext seach is MyISAM only.

Frankie
A: 

You don't. InnoDB does not support fulltext indexes.

Full-text indexes can be used only with MyISAM tables, and can be created only for CHAR, VARCHAR, or TEXT columns. From here.

nos
A: 

Innodb doesnt support full text searching, if you really need full text searching then what you can do is have a duplicate mysiam table of the original innodb table and have your full text search done on the duplicate table

ovais.tariq