In MySQL, if the movies table has a description field, how to do search on this description?

Posted by Jian Lin on Stack Overflow See other posts from Stack Overflow or by Jian Lin
Published on 2010-05-25T04:12:58Z Indexed on 2010/05/25 4:21 UTC
Read the original article Hit count: 206

Filed under:
|

Say, using MySQL, if the movies table has 20,000 records, and each record has a field that is the description of the movie, up to 2k byte long. How can we search for movies with the word "nature" in its description? If possible, it is to be fast, instead of going through all the 20,000 records. (if in some other situations, like for books, where n can be 200,000 or more).

© Stack Overflow or respective owner

Related posts about mysql

Related posts about search