Well queries are most often used to search for things to download, but they're actually more generic than that in share and can be used to search in your uploads, downloads, local cache, local db...
But yes, remembering what you downloaded can be a problem and this would work better if it...