Problem
Dropbox Dash is a universal search product built first for documents, and media files break its assumptions. They are large (images about 3X, video about 13X the size of non-media files), often named like IMG_1234, and carry no readable text. Analyzing content for every file multiplies storage and compute cost. Users also expect visual previews at several resolutions, which adds latency, while the ranking was trained only on text.
Example from the article: a user searches for a photo taken in San Francisco, and the file name says nothing about it.
Solution in brief
Index cheap metadata first (path, title, EXIF) and postpone content analysis. Store GPS as a chain of place IDs so one field answers city, state and country queries. Render previews only when a result is shown, caching them, and build preview URLs in parallel with ranking and permission checks.
Questions this case answers
- How to make unlabeled binary files searchable at scale when analyzing their content for every file is too costly
- How to return rendered previews for search results when only a tiny share of indexed files is ever viewed
- How to make images, video and audio searchable when files have names like IMG_1234 and full content analysis is too expensive?
- How to support searches like photos taken in San Francisco without running an image model on every file?
Tools and methods
- Metadata-first indexing — file path, title and EXIF as the only features at first; embeddings and OCR are planned later
- Geographic ID chain — a photo's GPS point reverse geocoded into city, region and country IDs stored in the index
- Filename tokenization — splitting camel case, hyphens and numeric suffixes at index and query time
- Just-in-time previews — previews generated on the read path and cached for up to 30 days
- Riviera — Dropbox's internal compute framework, reused for feature extraction and the previews service
Google or a one-time email code. No password.