Can someone please explain this?
After about two weeks of trial and error, we finally got the entire dmoz dump installed.
When we do a search for a lesser used phrase, i.e. "the simpsons" we get 377 results in a matter of less than 2 seconds but when we do a search for a popular term, i.e. "free" we get 44,217 terms but it takes between 8 and 12 seconds.
Now obviously my concern is to get this search faster than it is but my question is why is it slower with the additional terms? I just figured that it has to search through the entire table either way? Maybe how I see the search itself is incorrect so maybe someone can explain this to me so that I can fix this and make it faster than it is.
Any ideas how to improve performance? Would mod_perl or any other module help in the speed of the search itself?
Thank you.
After about two weeks of trial and error, we finally got the entire dmoz dump installed.
When we do a search for a lesser used phrase, i.e. "the simpsons" we get 377 results in a matter of less than 2 seconds but when we do a search for a popular term, i.e. "free" we get 44,217 terms but it takes between 8 and 12 seconds.
Now obviously my concern is to get this search faster than it is but my question is why is it slower with the additional terms? I just figured that it has to search through the entire table either way? Maybe how I see the search itself is incorrect so maybe someone can explain this to me so that I can fix this and make it faster than it is.
Any ideas how to improve performance? Would mod_perl or any other module help in the speed of the search itself?
Thank you.