@@ -48,9 +48,9 @@ to. If `open` is specified then the wildcard expression is expanded to only
48
48
open indices and if `closed` is specified then the wildcard expression is
49
49
expanded only to closed indices. Also both values (`open,closed`) can be
50
50
specified to expand to all indices.
51
- +
52
- If `none` is specified then wildcard expansion will be disabled and if `all`
53
- is specified, wildcard expressions will expand to all indices (this is equivalent
51
+
52
+ If `none` is specified then wildcard expansion will be disabled and if `all`
53
+ is specified, wildcard expressions will expand to all indices (this is equivalent
54
54
to specifying `open,closed`).
55
55
56
56
The defaults settings for the above parameters depend on the api being used.
@@ -68,7 +68,7 @@ The following options can be applied to all of the REST APIs.
68
68
69
69
When appending `?pretty=true` to any request made, the JSON returned
70
70
will be pretty formatted (use it for debugging only!). Another option is
71
- to set `format=yaml` which will cause the result to be returned in the
71
+ to set `? format=yaml` which will cause the result to be returned in the
72
72
(sometimes) more readable yaml format.
73
73
74
74
@@ -77,7 +77,7 @@ to set `format=yaml` which will cause the result to be returned in the
77
77
78
78
Statistics are returned in a format suitable for humans
79
79
(eg `"exists_time": "1h"` or `"size": "1kb"`) and for computers
80
- (eg `"exists_time_in_millis": 3600000`` or `"size_in_bytes": 1024`).
80
+ (eg `"exists_time_in_millis": 3600000` or `"size_in_bytes": 1024`).
81
81
The human readable values can be turned off by adding `?human=false`
82
82
to the query string. This makes sense when the stats results are
83
83
being consumed by a monitoring tool, rather than intended for human
@@ -88,7 +88,7 @@ consumption. The default for the `human` flag is
88
88
=== Flat Settings
89
89
90
90
The `flat_settings` flag affects rendering of the lists of settings. When
91
- flat_settings` flag is `true` settings are returned in a flat format:
91
+ ` flat_settings` flag is `true` settings are returned in a flat format:
92
92
93
93
[source,js]
94
94
--------------------------------------------------
@@ -160,8 +160,7 @@ can be specified as a whole number representing time in milliseconds, or as a ti
160
160
=== Distance Units
161
161
162
162
Wherever distances need to be specified, such as the `distance` parameter in
163
- the <<query-dsl-geo-distance-filter>>) or the `precision` parameter in the
164
- <<query-dsl-geohash-cell-filter>>, the default unit if none is specified is
163
+ the <<query-dsl-geo-distance-filter>>), the default unit if none is specified is
165
164
the meter. Distances can be specified in other units, such as `"1km"` or
166
165
`"2mi"` (2 miles).
167
166
@@ -178,6 +177,10 @@ Centimeter:: `cm` or `centimeters`
178
177
Millimeter:: `mm` or `millimeters`
179
178
Nautical mile:: `NM`, `nmi` or `nauticalmiles`
180
179
180
+ The `precision` parameter in the <<query-dsl-geohash-cell-filter>> accepts
181
+ distances with the above units, but if no unit is specified, then the
182
+ precision is interpreted as the length of the geohash.
183
+
181
184
[[fuzziness]]
182
185
[float]
183
186
=== Fuzziness
0 commit comments