Jump to content

MySQL search theory


scott212

Recommended Posts

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

I would recommend reading up on MySQL Column Indexing.

http://www.addedworth.com/php/index.php?t=MYSQL_COLUMN_INDEXING

You don't really need full text for this. There are some books on Database Optimization or
MySQL 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.