7/36
Part 2 of 5 · Stages and retrievalLearn
Filter in the index first, then let a model pick a few thousand
Location, dates, party size and the guest's own filters are rules, not preferences. A listing that's booked on those dates isn't a candidate at any score. So filter it in the index before any model runs. This is where most of the 7 million drop out.
Filters alone aren't enough. Airbnb's retrieval post names the hard cases: large areas like California or France, and busy places like Paris or London. A search for a whole region can leave tens of thousands of eligible homes, far more than a ranker can score. Retrieval has to pick the best few thousand, and that takes a model.