Jump to content

Archived

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

mb81

Search methodology....

Recommended Posts

Hey everyone, I'm getting more into using user search criteria to return a list from mysql and was wondering if anyone had some good search methodology when the user may be entering up to 4 words and I need to search in 4 or 5 different fields?

I thought about using some complex joinings AND LIKE, etc, but I am thinking there has to be something better. Any thoughts?

Share this post


Link to post
Share on other sites
A FULLTEXT index can span multiple fields (in the same table only), and is a good first attempt, assuming you can enough records to support it.

Share this post


Link to post
Share on other sites

×

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.