Skip to content

geo_point parsing doesn't ignore malformed points represented as a string #35419

@imotov

Description

@imotov

Looks like there are some use cases in #16137 that were not fully addressed in #16833. In particular, some values in string presentation of a geo_point are not handled correctly. To reproduce:

DELETE example PUT example { "mappings": { "doc": { "properties": { "location": { "type": "geo_point", "ignore_malformed": true } } } } } PUT example/doc/1 { "location": "NaN,NaN" } PUT example/doc/2 { "location": "-,-" } 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions