Add deprecation warnings for ignore_malformed to reference docs

This commit is contained in:
Isabel Drost-Fromm 2016-05-04 12:04:28 +02:00
parent 6b9ac46402
commit 9a90bdce01
3 changed files with 11 additions and 0 deletions

View File

@ -52,6 +52,9 @@ Then the following simple query can be executed with a
|Option |Description |Option |Description
|`_name` |Optional name field to identify the filter |`_name` |Optional name field to identify the filter
|`ignore_malformed` |deprecated[5.0.0,Use `validation_method` instead] Set to `true` to
accept geo points with invalid latitude or longitude (default is `false`).
|`validation_method` |Set to `IGNORE_MALFORMED` to |`validation_method` |Set to `IGNORE_MALFORMED` to
accept geo points with invalid latitude or longitude, set to accept geo points with invalid latitude or longitude, set to
`COERCE` to also try to infer correct latitude or longitude. (default is `STRICT`). `COERCE` to also try to infer correct latitude or longitude. (default is `STRICT`).

View File

@ -162,6 +162,11 @@ The following are options allowed on the filter:
Optional name field to identify the query Optional name field to identify the query
`ignore_malformed`::
deprecated[5.0.0,Use `validation_method` instead] Set to `true` to accept geo points with invalid latitude or
longitude (default is `false`).
`validation_method`:: `validation_method`::
Set to `IGNORE_MALFORMED` to accept geo points with invalid latitude or Set to `IGNORE_MALFORMED` to accept geo points with invalid latitude or

View File

@ -34,6 +34,9 @@ points. Here is an example:
|Option |Description |Option |Description
|`_name` |Optional name field to identify the filter |`_name` |Optional name field to identify the filter
|`ignore_malformed` |deprecated[5.0.0,Use `validation_method` instead] Set to `true` to accept geo points with invalid latitude or
longitude (default is `false`).
|`validation_method` |Set to `IGNORE_MALFORMED` to accept geo points with |`validation_method` |Set to `IGNORE_MALFORMED` to accept geo points with
invalid latitude or longitude, `COERCE` to try and infer correct latitude invalid latitude or longitude, `COERCE` to try and infer correct latitude
or longitude, or `STRICT` (default is `STRICT`). or longitude, or `STRICT` (default is `STRICT`).