|
Over the last little while many people have asked me to make search engines in PHP/MySQL for them. From what I know PHP/MySQL isn't really a good language to search in but it did get me thinking. How do extremely efficient, fast search engines such as Google work under the hood? I mean almost every site in the world is on there. How does it return a result that fast?
The only plausible solution I have though of is pre-grab results. At first I thought this was a probable solution but you type in something like 'adfkjddikwiodjnfkdk' and still get a fast result. It's possible but I'm not sure. And even then it would take forever to fetch such a large result source from a database.
I'm not sure why but this is really bugging me. Any ideas?
__________________
PHP Code:
$talkupation++;
http://www.forum-front.com/ - Free IPB forum hosting (releasing today!!!), no ads, free modifications
|