Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor corrections in geo-queries.asciidoc #34314

Merged
merged 2 commits into from
Oct 5, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference/query-dsl/geo-queries.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
Elasticsearch supports two types of geo data:
<<geo-point,`geo_point`>> fields which support lat/lon pairs, and
<<geo-shape,`geo_shape`>> fields, which support points,
lines, circles, polygons, multi-polygons etc.
lines, circles, polygons, multi-polygons, etc.

The queries in this group are:

<<query-dsl-geo-shape-query,`geo_shape`>> query::

Find document with geo-shapes which either intersect, are contained by, or
Finds documents with geo-shapes which either intersect, are contained by, or
do not intersect with the specified geo-shape.

<<query-dsl-geo-bounding-box-query,`geo_bounding_box`>> query::
Expand All @@ -19,7 +19,7 @@ The queries in this group are:

<<query-dsl-geo-distance-query,`geo_distance`>> query::

Finds document with geo-points within the specified distance of a central
Finds document with geo-points within the specified distance from a central
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be 'documents' for consistency. Also, I think 'of' is actually correct here because it's being used with the word 'within'.

point.

<<query-dsl-geo-polygon-query,`geo_polygon`>> query::
Expand Down