Jump to content

Fulltext Search


eugene2009

Recommended Posts

Can somebody please help me find a good working script for creating the

 

MySql Fulltext search function?

 

I need the whole script and instructions how to create an index, and everything to make it work.

 

I searched all over google and cant find it. Please help, thank you.

Link to comment
https://forums.phpfreaks.com/topic/185576-fulltext-search/
Share on other sites

It was from a user comment:

 

An easy solution to correct for spelling errors for small search items like the name of the city is to build a column that contains the SOUNDEX of each. I've found that using a 4 character SOUNDEX works the best. An example:

 

ALTER TABLE cities ADD city_soundex VARCHAR(4) NOT NULL;

UPDATE cities SET city_soundex=LEFT(SOUNDEX(city_name),4);

Link to comment
https://forums.phpfreaks.com/topic/185576-fulltext-search/#findComment-979941
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.