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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.