mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Update docs for LatLonPoint cut over
This commit removes documentation for: * geohash cell query * lat_lon parameter * geohash parameter * geohash_precision parameter * geohash_prefix parameter It also updates failing tests that reference these parameters for backcompat.
This commit is contained in:
parent
ef926894f4
commit
1a60e1c3d2
30 changed files with 111 additions and 494 deletions
|
@ -30,12 +30,6 @@ The queries in this group are:
|
|||
|
||||
Find documents with geo-points within the specified polygon.
|
||||
|
||||
<<java-query-dsl-geohash-cell-query,`geohash_cell`>> query::
|
||||
|
||||
Find geo-points whose geohash intersects with the geohash of the specified
|
||||
point.
|
||||
|
||||
|
||||
include::geo-shape-query.asciidoc[]
|
||||
|
||||
include::geo-bounding-box-query.asciidoc[]
|
||||
|
@ -45,5 +39,3 @@ include::geo-distance-query.asciidoc[]
|
|||
include::geo-distance-range-query.asciidoc[]
|
||||
|
||||
include::geo-polygon-query.asciidoc[]
|
||||
|
||||
include::geohash-cell-query.asciidoc[]
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
[[java-query-dsl-geohash-cell-query]]
|
||||
==== Geohash Cell Query
|
||||
|
||||
See {ref}/query-dsl-geohash-cell-query.html[Geohash Cell Query]
|
||||
|
||||
[source,java]
|
||||
--------------------------------------------------
|
||||
QueryBuilder qb = geoHashCellQuery("pin.location", <1>
|
||||
new GeoPoint(13.4080, 52.5186)) <2>
|
||||
.neighbors(true) <3>
|
||||
.precision(3); <4>
|
||||
--------------------------------------------------
|
||||
<1> field
|
||||
<2> point. Can also be a hash like `u30`
|
||||
<3> The `neighbors` option of the filter offers the possibility to filter cells
|
||||
next to the given cell.
|
||||
<4> precision level
|
Loading…
Add table
Add a link
Reference in a new issue