Should I set the columns to in my table as index or fulltext? They will be searched for both using WHERE and WHERE .. LIKE.
Which is best?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Full-text searches require different syntax from normal LIKE queries. If you’re using LIKE queries (and don’t plan on modifying them) you will only get a benefit from using nonclustered indexes. If you are interested in using full-text search, consider using the MATCH() syntax in your queries. http://dev.mysql.com/doc/refman/5.0/en/fulltext-natural-language.html