Re:Ask HN: when is Google Instant coming to my GMail search?
by cmurphycode on Saturday September 11, 2010 @02:18PM
(#1682029)
Would you accept an approximation for results as you type, with the true, exact search happening when you stop typing? I think this would be very useful, especially since I don't need to search the absolute real-time index of my emails 99% of the time. It would probably confuse users, though- having a new result pop in .5 seconds later.
Re:Ask HN: when is Google Instant coming to my GMail search?
by mattmcknight on Saturday September 11, 2010 @06:42PM
(#1682526)
"GMail searches must search a genuinely real-time index of your e-mails. An e-mail must be searchable the instant it's created."
That's not a significant difference in terms of searching. The index segmentation is not likely to have a significant impact for most queries, and the segments are likely combined often enough for it not to be a problem.
It is real difference is that the infrastructure to support searching your one little inbox index just isn't there. It's probably not constantly loaded into RAM. It does cache queries though, try, "red" then "green" then "red".
Another difference is that is shows well more than 10 results.
There are a few reasons GMail search is slow:
* GMail searches must search a genuinely real-time index of your e-mails. An e-mail must be searchable the instant it's created. Web search has an inherent latency which allows Google to do offline processing to improve search speed.
* It follows that, GMail must be an exact match, while Web search is an approximation.
* Popular queries can't be cached and returned quickly.
Source: http://www.quora.com/Why-does-Gmail-take-longer-to-search-my...