Google filed a patent for Google Desktop last month, that hints at how they rank search results. Last access time, where the item is stored, file type and file size are mentioned as factors, but there are probably some more left unmentioned.
How Google Desktop ranks files
I analyzed a Google Desktop patent filing that reveals ranking factors for local searches, including last access time, file storage location, file type, and size to determine temporal and contextual relevance for desktop results.