Skip to main content
Geo search allows you to filter and sort documents based on their geographic location. Use it to build store locators, delivery zone finders, local service directories, and any application where physical proximity matters.

Supported geo formats

Meilisearch supports two ways to store geographic data:
  • _geo field: a simple object with lat and lng properties for point locations
  • GeoJSON: a standardized format for complex geometries including points, polygons, and multi-polygons

Geo operations

OperationDescription
_geoRadiusFilter results within a circular area
_geoBoundingBoxFilter results within a rectangular area
_geoPolygonFilter results within a custom polygon shape
_geoPointSort results by distance from a reference point

Next steps

Getting started

Index documents with coordinates and run your first geo search

Filter by radius

Find results within a distance from a point

Sort by distance

Rank results by proximity to a location

GeoJSON format

Index complex geometries with GeoJSON