class OpenSearch::DSL::Search::Filters::GeoShape

A filter which returns documents which fall into a specified geographical shape

@example

search do
  query do
    filtered do
      filter do
        geo_shape :location do
          shape type: 'envelope',
                coordinates: [[14.2162566185,49.9415476869], [14.7149200439,50.1815123678]]
        end
      end
    end
  end
end

@see opensearch.org/guide/en/opensearch/reference/current/query-dsl-geo-shape-filter.html