Skip to content

failure to parse spatial_centroid due to illegal latitude/longitude values #5730

@FuhuXia

Description

@FuhuXia

We have 657 dataset with illegal latitude/longitude values, for example

latitude value [-90.90776196883162
longitude value [185.34570208999997]

They generate errors during OpenSearch indexing

'error_reason': 'failed to parse field [spatial_centroid] of type [geo_point]',
'caused_by': {'type': 'illegal_argument_exception', 'reason':
'illegal longitude value [185.34570208999997] for spatial_centroid'}}

How to reproduce

run flask search compare --update and watch the log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Next Up

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions