sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
I don't understand the logic behind site searches on how they work. When you type in a few words to search for, somehow the script will pull apart some pages and give you some results, right? How does it do that in such a timely manner?
My impression is for the search to work, it has to open each file (or node) and rip apart it's context THEN display the results. But if this were the case, how could it search all the nodes in a matter of seconds? Could it really open and read that many pages at one time?
It's really confusing to think of how Yahoo! pulls this off. They have millions of pages to search for but the results are still brought up in a matter of seconds. Can someone explain how searches are run?
Thank you, Wise Monks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Searches
by Zed_Lopez (Chaplain) on Dec 02, 2003 at 22:10 UTC | |
by duff (Parson) on Dec 02, 2003 at 23:07 UTC | |
|
Re: Searches
by Zaxo (Archbishop) on Dec 02, 2003 at 22:04 UTC | |
|
Re: Searches
by inman (Curate) on Dec 03, 2003 at 11:08 UTC | |
|
Re: Searches
by rinceWind (Monsignor) on Dec 03, 2003 at 11:44 UTC | |
|
Re: Searches
by sleepingsquirrel (Chaplain) on Dec 03, 2003 at 02:08 UTC | |
by sleepingsquirrel (Chaplain) on Dec 03, 2003 at 16:56 UTC | |
|
Re: Searches
by Anonymous Monk on Dec 03, 2003 at 14:36 UTC |