-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
🐛 Missing type
Query DSL GeoDistanceQuery missing ignore_unmapped -
elasticsearch-specification/specification/_types/query_dsl/geo.ts
Lines 57 to 83 in aa3a645
| export class GeoDistanceQuery | |
| extends QueryBase | |
| implements AdditionalProperty<Field, GeoLocation> | |
| { | |
| /** | |
| * The radius of the circle centred on the specified location. | |
| * Points which fall into this circle are considered to be matches. | |
| * @doc_id distance-units | |
| */ | |
| distance: Distance | |
| /** | |
| * How to compute the distance. | |
| * Set to `plane` for a faster calculation that's inaccurate on long distances and close to the poles. | |
| * @server_default 'arc' | |
| */ | |
| distance_type?: GeoDistanceType | |
| /** | |
| * Set to `IGNORE_MALFORMED` to accept geo points with invalid latitude or longitude. | |
| * Set to `COERCE` to also try to infer correct latitude or longitude. | |
| * @server_default 'strict' | |
| */ | |
| validation_method?: GeoValidationMethod | |
| } | |
| export class GeoPolygonPoints { | |
| points: GeoLocation[] | |
| } |
Definition
The definition would be the same already in place for GeoBoundingBoxQuery and GeoShapeQuery.