Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 596 Bytes

310_Geolocation.asciidoc

File metadata and controls

32 lines (20 loc) · 596 Bytes

Geolocation (TODO)

The web is increasingly location aware – users expect to see local results, or to be able to filter results by their position on a map.

This chapter explains how to use geolocation in Elasticsearch, including optimization tips.

Adding geolocation to your documents

  • Mapping the geo-point type

  • Indexing documents with geo-points

Geolocation-aware search

  • geo-distance and geo-distance-range filters

  • geo-bounding-box filter

  • geo-polygon filter

Sorting by distance

.

Geo-shapes

.

Optimizing geo-queries

.