1. A method, comprising: in response to a search query, identifying a first bucket and a second bucket in remote storage for processing the search query; making a determination that a first file in the first bucket is present in a cache when the search query is received; performing, in response to the search query, a search using the first file based on the determination that the first file is present in the cache when the search query is received; and performing, in response to the search query, the search using a second file from the second bucket once the second file is stored in the cache.