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). Link to comment https://forums.phpfreaks.com/topic/34911-mysql-search-theory/ 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 Link to comment https://forums.phpfreaks.com/topic/34911-mysql-search-theory/#findComment-164614 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 Link to comment https://forums.phpfreaks.com/topic/34911-mysql-search-theory/#findComment-165113 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.