From 3689f67a76f1123942e1cbe93a92a5a857b74e03 Mon Sep 17 00:00:00 2001 From: Florian Hopf Date: Fri, 11 Jul 2014 18:17:27 +0200 Subject: [PATCH] Docs: Fixed invalid word count in geodistance agg doc Closes #6838 --- .../search/aggregations/bucket/geodistance-aggregation.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/search/aggregations/bucket/geodistance-aggregation.asciidoc b/docs/reference/search/aggregations/bucket/geodistance-aggregation.asciidoc index dc2ff586898..c08702882bc 100644 --- a/docs/reference/search/aggregations/bucket/geodistance-aggregation.asciidoc +++ b/docs/reference/search/aggregations/bucket/geodistance-aggregation.asciidoc @@ -82,7 +82,7 @@ By default, the distance unit is `km` but it can also accept: `mi` (miles), `in` <1> The distances will be computed as miles -There are two distance calculation modes: `sloppy_arc` (the default), `arc` (most accurate) and `plane` (fastest). The `arc` calculation is the most accurate one but also the more expensive one in terms of performance. The `sloppy_arc` is faster but less accurate. The `plane` is the fastest but least accurate distance function. Consider using `plane` when your search context is "narrow" and spans smaller geographical areas (like cities or even countries). `plane` may return higher error mergins for searches across very large areas (e.g. cross continent search). The distance calculation type can be set using the `distance_type` parameter: +There are three distance calculation modes: `sloppy_arc` (the default), `arc` (most accurate) and `plane` (fastest). The `arc` calculation is the most accurate one but also the more expensive one in terms of performance. The `sloppy_arc` is faster but less accurate. The `plane` is the fastest but least accurate distance function. Consider using `plane` when your search context is "narrow" and spans smaller geographical areas (like cities or even countries). `plane` may return higher error mergins for searches across very large areas (e.g. cross continent search). The distance calculation type can be set using the `distance_type` parameter: [source,js] --------------------------------------------------