mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 17:38:44 +00:00
* [DOCS] Changed quad tree max levels to 29. Clears 21191 * Changed QuadPrefixTree max levels to 29 and added defaults. Closes #21191
This commit is contained in:
parent
9573492a9e
commit
09a6ba4fea
@ -32,7 +32,7 @@ best tree_levels value to honor this precision. The value should be a
|
|||||||
number followed by an optional distance unit. Valid distance units
|
number followed by an optional distance unit. Valid distance units
|
||||||
include: `in`, `inch`, `yd`, `yard`, `mi`, `miles`, `km`, `kilometers`,
|
include: `in`, `inch`, `yd`, `yard`, `mi`, `miles`, `km`, `kilometers`,
|
||||||
`m`,`meters`, `cm`,`centimeters`, `mm`, `millimeters`.
|
`m`,`meters`, `cm`,`centimeters`, `mm`, `millimeters`.
|
||||||
| `meters`
|
| `50m`
|
||||||
|
|
||||||
|`tree_levels` |Maximum number of layers to be used by the PrefixTree.
|
|`tree_levels` |Maximum number of layers to be used by the PrefixTree.
|
||||||
This can be used to control the precision of shape representations and
|
This can be used to control the precision of shape representations and
|
||||||
@ -42,7 +42,7 @@ certain level of understanding of the underlying implementation, users
|
|||||||
may use the `precision` parameter instead. However, Elasticsearch only
|
may use the `precision` parameter instead. However, Elasticsearch only
|
||||||
uses the tree_levels parameter internally and this is what is returned
|
uses the tree_levels parameter internally and this is what is returned
|
||||||
via the mapping API even if you use the precision parameter.
|
via the mapping API even if you use the precision parameter.
|
||||||
| `50m`
|
| various
|
||||||
|
|
||||||
|`strategy` |The strategy parameter defines the approach for how to
|
|`strategy` |The strategy parameter defines the approach for how to
|
||||||
represent shapes at indexing and search time. It also influences the
|
represent shapes at indexing and search time. It also influences the
|
||||||
@ -119,14 +119,14 @@ Geohashes are base32 encoded strings of the bits of the latitude and
|
|||||||
longitude interleaved. So the longer the hash, the more precise it is.
|
longitude interleaved. So the longer the hash, the more precise it is.
|
||||||
Each character added to the geohash represents another tree level and
|
Each character added to the geohash represents another tree level and
|
||||||
adds 5 bits of precision to the geohash. A geohash represents a
|
adds 5 bits of precision to the geohash. A geohash represents a
|
||||||
rectangular area and has 32 sub rectangles. The maximum amount of levels
|
rectangular area and has 32 sub rectangles. The maximum number of levels
|
||||||
in Elasticsearch is 24.
|
in Elasticsearch is 24; the default is 9.
|
||||||
* QuadPrefixTree - Uses a
|
* QuadPrefixTree - Uses a
|
||||||
http://en.wikipedia.org/wiki/Quadtree[quadtree] for grid squares.
|
http://en.wikipedia.org/wiki/Quadtree[quadtree] for grid squares.
|
||||||
Similar to geohash, quad trees interleave the bits of the latitude and
|
Similar to geohash, quad trees interleave the bits of the latitude and
|
||||||
longitude the resulting hash is a bit set. A tree level in a quad tree
|
longitude the resulting hash is a bit set. A tree level in a quad tree
|
||||||
represents 2 bits in this bit set, one for each coordinate. The maximum
|
represents 2 bits in this bit set, one for each coordinate. The maximum
|
||||||
amount of levels for the quad trees in Elasticsearch is 50.
|
number of levels for the quad trees in Elasticsearch is 29; the default is 21.
|
||||||
|
|
||||||
[[spatial-strategy]]
|
[[spatial-strategy]]
|
||||||
[float]
|
[float]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user