you are missing something big here. gmail search cannot not even show results by relevance. they are sorted by dates.
google is a master of indexing. yes. but they are from what i see... are not maintaining individual indexes of all the gmail users around the world. gmail search is actually slower than google search even though it has to search a very small amount of data... right? there is no google instant for gmail searching right now. frankly speaking opera can search through my mails faster on my computer than gmail can search through my mails online.
why? i do not have the answer but i would imagine that... google search is a centralized database where they can afford to provide outdated results which can be inaccurate in some cases/... gmail search has to be realtime and accurate. even google has not achieved perfect searching on emails.
---------- Post added at 03:58 PM ---------- Previous post was at 03:52 PM ----------
i remember reading some blog post from a gmail developer on how labs made life complicated for them.
from what i remember... they do not load a separate js file for each lab you have selected. that was too inefficient for them.
so what they do is. they have javascripts for every possible permutation and combination of labs features. and a single one is selected based on what labs items are enabled by the user. it was pretty incredible to read through that blog post.
i also remember some articles about how gmail search is so bad today. and what google is planning to do to improve upon it. it is pretty clear that searching through individual's gmail database is probably a bigger challenge that the google's primary search engine
