Skip to content

GeoDistanceQuery missing ignore_unmapped definition #2387

@gbocchini

Description

@gbocchini

🐛 Missing type

Query DSL GeoDistanceQuery missing ignore_unmapped -

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions