TL;DR: Put searchable upload facts in an application index, and keep object storage responsible for durable bytes and prefix-based retrieval. For a receipt-processing developer tool, that split preserves a fast ingestion path for large originals while still answering questions such as "which user avatars are JPEGs tagged for review?" without opening every object.
The deciding constraint is throughput. A large receipt must move from the request stream to storage without being buffered into application memory, yet metadata search needs bounded, predictable work. Content type, tags, object key, byte count, and processing state belong in one small index row. The original file belongs behind an opaque key.
Keep that boundary dull.
Can user avatar metadata support content type search?
A prefix listing answers a namespace question: which keys begin with this string? It does not become a general metadata query merely because each object also carries a media type or tags.…