OpenSearch/docs
Nicholas Knize 453217fd7a [GEO] Prioritize tree_level and precision parameters over default distance_error_pct
If a user explicitly defined the tree_level or precision parameter in a geo_shape mapping their specification was always overridden by the default_error_pct parameter (even though our docs say this parameter is a 'hint'). This lead to unexpected accuracy problems in the results of a geo_shape filter. (example provided in issue #9691)

This simple patch fixes the unexpected behavior by setting the default distance_error_pct parameter to zero when the tree_level or precision parameters are provided by the user. Under the covers the quadtree will now use the tree level defined by the user. The docs will be updated to alert the user to exercise caution with these parameters.  Specifying a precision of "1m" for an index using large complex shapes can quickly lead to OOM issues.

closes #9691
2015-04-21 14:42:10 -05:00
..
community Docs: Include groovy community 2015-04-08 11:46:05 +02:00
groovy-api Updated groovy docs to point to the new groovy repo 2014-05-14 12:08:02 +02:00
java-api [DOCS] update versions in java api module.xml 2015-04-07 18:10:53 +02:00
javascript Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
perl Docs: Minor test change to Perl docs 2015-02-28 17:19:55 +01:00
python Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
reference [GEO] Prioritize tree_level and precision parameters over default distance_error_pct 2015-04-21 14:42:10 -05:00
resiliency Doc: Updates to resiliency page for 1.5.0/1 2015-04-14 15:30:33 +02:00
river Warning in documentation for deprecation of rivers 2015-04-05 20:54:26 +02:00
ruby typo in ruby docs 2015-04-05 15:14:40 +02:00
README.md Update README.md 2015-04-07 10:31:48 +02:00

README.md

The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process

See: https://github.com/elastic/docs