23. A non-transitory computer-readable medium comprising instructions, execution of which in a computer system causes the computer system to: in response to a search query, copy a first bucket from remote storage to a cache, the first bucket including first data associated with the search query; identify a first file type associated with a first file in the first bucket, wherein the first file is associated with a first usage status; access, based on the search query, a second bucket from the remote storage, the second bucket including second data associated with the search query; identify a second file in the second bucket having the first file type; and copy, in response to the first usage status indicating that the first file was used in processing the search query, the second file from the remote storage to the cache.
23. A non-transitory computer-readable medium comprising instructions, execution of which in a computer system causes the computer system to: in response to a search query, copy a first bucket from remote storage to a cache, the first bucket including first data associated with the search query; identify a first file type associated with a first file in the first bucket, wherein the first file is associated with a first usage status; access, based on the search query, a second bucket from the remote storage, the second bucket including second data associated with the search query; identify a second file in the second bucket having the first file type; and copy, in response to the first usage status indicating that the first file was used in processing the search query, the second file from the remote storage to the cache. 25. The non-transitory computer-readable medium of claim 23 , wherein the instructions, upon execution, further cause the computer system to: identify a second file type associated with a third file in the first bucket; identify a fourth file in the second bucket having the second file type; make a first determination whether to copy the fourth file based on a second usage status of the third file, wherein the second usage status indicates whether the third file was used during the processing of the search query; make a second determination, based at least in part on the first determination indicating to copy the fourth file, whether to copy a fifth file of the second bucket having a third file type; and copy, based on the second determination, the fifth file from the remote storage to the cache.