Vepler logo
v2.146.0

Geo bias and restrict on search suggest

Search suggest can now bias or restrict autocomplete to a centre point — pass lat and lng, then choose a soft proximity preference or a hard radius cutoff. Each result returns its distance.

Added

  • GET /v1/search/suggest now accepts an optional centre point via lat and lng. Set geo_mode=bias to softly prefer suggestions near that point (a Gaussian decay that still surfaces strong matches further away), or geo_mode=restrict to return only suggestions within radius_meters of it.
  • When a centre point is supplied, each suggestion carries its distance from that point in metres, so you can rank or label results by proximity.
  • Geo bias and restrict apply to address suggestions, making the endpoint a fit for ‘near me’ autocomplete in map and mobile flows. Centre-point coordinates are never written to logs.

Affected endpoints