OpenSearch/docs/reference/search
Florian Schilling 464037e0c1 Geo clean Up
============
The default unit for measuring distances is *MILES* in most cases. This commit moves ES
over to the *International System of Units* and make it work on a default which relates
to *METERS* . Also the current structures of the `GeoBoundingBox Filter` changed in
order to define the *Bounding* by setting abitrary corners.

Distances
---------
Since the default unit for measuring distances has changed to a default unit
`DistanceUnit.DEFAULT` relating to *meters*, the **REST API** has changed at the
following places:

  * `ScriptDocValues.factorDistance()` returns *meters* instead of *miles*
  * `ScriptDocValues.factorDistanceWithDefault()` returns *meters* instead of *miles*
  * `ScriptDocValues.arcDistance()` returns *meters* instead of *miles*
        one might use `ScriptDocValues.arcDistanceInMiles()`
  * `ScriptDocValues.arcDistanceWithDefault()` returns *meters* instead of *miles*
  * `ScriptDocValues.distance()` returns *meters* instead of *miles*
        one might use `ScriptDocValues.distanceInMiles()`
  * `ScriptDocValues.distanceWithDefault()` returns *meters* instead of *miles*
        one might use `ScriptDocValues.distanceInMilesWithDefault()`
  * `GeoDistanceFilter` default unit changes from *kilometers* to *meters*
  * `GeoDistanceRangeFilter` default unit changes from *miles* to *meters*
  * `GeoDistanceFacet` default unit changes from *miles* to *meters*

Geo Bounding Box Filter
-----------------------
The naming of the GeoBoundingBoxFilter properties allows to set arbitrary corners
(see #4084) namely `top_right`, `top_left`, `bottom_right` and `bottom_left`. This
change also includes the fields `topRight` and `bottomLeft` Also it is be possible to
set the single values by using just `top`, `bottom`, `left` and `right` parameters.

Closes #4515, #4084
2014-01-11 21:30:29 +09:00
..
aggregations A GeoHashGrid aggregation that buckets GeoPoints into cells whose dimensions are determined by a choice of GeoHash resolution. 2014-01-07 18:03:33 +00:00
facets Geo clean Up 2014-01-11 21:30:29 +09:00
request [DOCS] Fixed duplicate ID in highlighting 2014-01-09 00:37:18 +01:00
suggesters Rename edit_distance/min_similarity to fuzziness 2014-01-09 15:14:51 +01:00
aggregations.asciidoc [DOCS] Typos in aggregations 2013-12-02 15:14:25 +01:00
count.asciidoc [DOCS] Added a few clarifications to the docs from the issues list 2013-09-04 23:20:55 +02:00
explain.asciidoc [Docs] Added _source filtering to documentation 2013-11-26 19:16:24 +01:00
facets.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
more-like-this.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
multi-search.asciidoc [DOCS] Documented rest.action.multi.allow_explicit_index 2013-11-27 17:33:09 +01:00
multi-termvectors.asciidoc [DOC] add doc for multi term vector api 2013-11-26 17:03:14 +01:00
percolate.asciidoc Change the `sort` boolean option in percolate api to the sort dsl available in search api. 2014-01-09 09:58:34 +01:00
request-body.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
search.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
suggesters.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
termvectors.asciidoc Rename "exists" to "found" in TermVector and Get responses 2014-01-07 09:47:07 -07:00
uri-request.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
validate.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00