Location-biased place autocomplete

DesignMedium35 minGoogle and Uber style

Your task

Design a location-biased place autocomplete/geocoding service: as a user types ('star', 'starb…'), return ranked place and address suggestions in under 50ms, biased toward the user's current location, across a global gazetteer of 500M places/addresses. Cover the text index, how location biases ranking, and the latency budget.

It covers

  • Autocomplete
  • Geo ranking
  • Elasticsearch