geoShape

fun geoShape(shape: GeoShape, field: String = "_all"): SearchQuery

A Geo Bounded Rectangle query or Geo Bounded Polygon query. May also be used with GeoCircle.

Searches for documents where field is bounded by shape.