Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I was reading the MySQL manual yesterday and found an interesting new feature (since 3.23.23) which is perfect for this (and other searches as well).

It's possible to match results with the function MATCH(), which does some magic internally to decide which rows to select. It orders matches by a sort of score, and each word that is in the match is given a weight based on in how many of the found rows it is found in. If the word is found in more than 50% of the rows that word will give a score of zero.

You can find more info on this here. I didn't read everything, but it seemed very promising and I did a mental note to check on it later.

Basically, you would get the ignoring of common words without the need of a table for every possible language. It will probably be quite fast as well, since it is indexed.

Sponsored Links
Entire Thread
Subject Posted By Posted
'Similar Pages' features! santana 08/09/2002 4:25 AM
Re: 'Similar Pages' features! AllenAyres 08/09/2002 5:33 AM
Re: 'Similar Pages' features! santana 08/09/2002 6:01 AM
Re: 'Similar Pages' features! JoshPet 08/09/2002 6:16 AM
Re: 'Similar Pages' features! AllenAyres 08/09/2002 6:17 AM
Re: 'Similar Pages' features! santana 08/09/2002 6:47 AM
Re: 'Similar Pages' features! JustDave 08/09/2002 6:57 AM
Re: 'Similar Pages' features! JoshPet 08/09/2002 7:02 AM
Re: 'Similar Pages' features! AllenAyres 08/09/2002 8:23 AM
Match function in MySQL Gardener 08/09/2002 12:32 PM
Re: Match function in MySQL AllenAyres 08/09/2002 9:52 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 641
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 4
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)