MySQL Full-text Search Workaround for innoDB tables

前端 未结 5 967
小鲜肉
小鲜肉 2020-12-05 01:15

I\'m designing an internal web application that uses MySQL as its backend database. The integrity of the data is crucial, so I am using the innoDB engine for i

5条回答
  •  無奈伤痛
    2020-12-05 01:51

    Good news! In MySQL 5.6 and up, full-text indexes can be used with InnoDB tables. You should consider updating your MySQL to 5.6 or up if you haven't as yet.

    With my application full-text search was very important so I just used MyISAM. Now, I have updated MySQL to 5.6, converted the database to InnoDB and added the correct constraints. Best of bother worlds.

    MySQL 5.6 Manual - Full-Text Search Functions

提交回复
热议问题