scott212 Posted January 19, 2007 Share Posted January 19, 2007 What's the best way to run a search on a database where your match groups of columns such as 'first_name' and 'last_name'? I'm attempting to create a search that takes a users contact info and return people with similar names in the same area and I'm trying to avoid do a whole list of querys on the db (overhead). Quote Link to comment Share on other sites More sharing options...
trochia Posted January 19, 2007 Share Posted January 19, 2007 http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html Quote Link to comment Share on other sites More sharing options...
SpinCode Posted January 20, 2007 Share Posted January 20, 2007 I would recommend reading up on MySQL Column Indexing.http://www.addedworth.com/php/index.php?t=MYSQL_COLUMN_INDEXINGYou don't really need full text for this. There are some books on Database Optimization orMySQL optimization, but their online doc already provides all the information you need.Spin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.